{"id":"CVE-2026-47103","state":"PUBLISHED","title":"Python StateMachine 3.0.0 < 3.2.0 RCE via SCXML eval() Injection","description":"Python StateMachine versions 3.0.0 before 3.2.0 contains a remote code execution vulnerability that allows attackers to execute arbitrary code by supplying malicious SCXML documents containing crafted `<data expr=\"...\">` attributes evaluated unsafely. The SCXMLProcessor passes attacker-controlled expression strings through a call chain ending in Python's built-in eval() without sandboxing, enabling arbitrary code execution in the context of the hosting process.","publishedAt":"2026-06-17T14:32:08.180Z","updatedAt":"2026-10-08T15:22:56.368Z","severity":{"score":9.3,"label":"Critical","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["fgmacedo python-statemachine"],"affected":[{"vendor":"fgmacedo","product":"python-statemachine","packageURL":"pkg:pypi/python-statemachine","defaultStatus":"affected","versions":[{"version":"3.0.0","status":"affected","lessThan":"3.2.0","versionType":"semver"}],"repo":"https://github.com/fgmacedo/python-statemachine"}],"references":["https://github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce","https://github.com/fgmacedo/python-statemachine/releases/tag/v3.2.0","https://github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8","https://www.vulncheck.com/advisories/python-statemachine-rce-via-scxml-eval-injection"],"weaknesses":["CWE-95"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/47xxx/CVE-2026-47103.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-47103","state":"PUBLISHED","datePublished":"2026-06-17T14:32:08.180Z","dateUpdated":"2026-10-08T15:22:56.368Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-05-18T19:22:26.748Z"},"containers":{"cna":{"title":"Python StateMachine 3.0.0 < 3.2.0 RCE via SCXML eval() Injection","descriptions":[{"lang":"en","value":"Python StateMachine versions 3.0.0 before 3.2.0 contains a remote code execution vulnerability that allows attackers to execute arbitrary code by supplying malicious SCXML documents containing crafted `<data expr=\"...\">` attributes evaluated unsafely. The SCXMLProcessor passes attacker-controlled expression strings through a call chain ending in Python's built-in eval() without sandboxing, enabling arbitrary code execution in the context of the hosting process."}],"affected":[{"vendor":"fgmacedo","product":"python-statemachine","packageURL":"pkg:pypi/python-statemachine","defaultStatus":"affected","versions":[{"version":"3.0.0","status":"affected","lessThan":"3.2.0","versionType":"semver"}],"repo":"https://github.com/fgmacedo/python-statemachine"}],"references":[{"url":"https://github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce","tags":["technical-description","exploit"],"name":"Researcher Disclosure"},{"url":"https://github.com/fgmacedo/python-statemachine/releases/tag/v3.2.0","tags":["release-notes"],"name":"Release Notes"},{"url":"https://github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-v4jc-pm6r-3vj8)"},{"url":"https://www.vulncheck.com/advisories/python-statemachine-rce-via-scxml-eval-injection","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"CRITICAL","baseScore":9.3,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","version":"3.1","baseSeverity":"CRITICAL","baseScore":9.8,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-95","lang":"en","description":"Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-08T15:22:56.368Z"},"tags":["x_open-source"],"datePublic":"2026-06-16T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:fgmacedo:python_statemachine:*:*:*:*:*:python:*:*","versionStartIncluding":"3.0.0","versionEndExcluding":"3.2.0"}]}]}],"credits":[{"lang":"en","value":"Sai Teja Erukude","type":"finder"},{"lang":"en","value":"VulnCheck","type":"coordinator"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"vulncheck"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-18T14:30:49.802580Z","id":"CVE-2026-47103","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-18T14:31:25.241Z"}}]}}}