{"id":"CVE-2026-47103","published":"2026-06-17T14:32:08Z","modified":"2026-11-08T14:04:04Z","title":"Python StateMachine 3.0.0 < 3.2.0 RCE via SCXML eval() Injection","vendor":"fgmacedo","product":"python-statemachine","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01363,"percentile":0.72461,"provenance":"source"},"cwes":[{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"}],"references":[{"url":"https://github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce","tags":["technical-description","exploit"]},{"url":"https://github.com/fgmacedo/python-statemachine/releases/tag/v3.2.0","tags":["release-notes"]},{"url":"https://github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/python-statemachine-rce-via-scxml-eval-injection","tags":["third-party-advisory"]}],"priority":{"score":26.4,"factors":[{"name":"EPSS percentile","points":14.49},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-08-15","earliestUrl":"https://github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce","repos":[{"name":"SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce","url":"https://github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce","stars":0,"created":"2026-08-15"}]},"first":{"date":"2026-08-15","source":"PoC-in-GitHub","url":"https://github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce"},"provenance":"source"},"vendorSlug":"fgmacedo","affectedVersions":[{"vendor":"fgmacedo","product":"python-statemachine","versions":[">= 3.0.0, < 3.2.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-06-18T14:30:49.802580Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"python-statemachine","vulnerableRanges":[">=3.0.0, <3.2.0"],"patched":["3.2.0"],"from":["GHSA-v4jc-pm6r-3vj8","PYSEC-2026-506"],"provenance":"source"}],"summary":{"text":"The flaw is an unsafe evaluation of expressions in the SCXML processing component of fgmacedo's python-statemachine library, in versions from 3.0.0 before 3.2.0. The SCXMLProcessor passes <data expr=\"...\"> attribute values from supplied SCXML documents into Python's built-in eval() without sandboxing. An attacker who can supply a malicious SCXML document to the affected library can execute arbitrary code within the hosting process, with no authentication, user interaction, or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:38:41Z"},"euvd":{"id":"EUVD-2026-37730","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce"]}