{"id":"CVE-2026-47103","summary":"Python StateMachine 3.0.0 \u003c 3.2.0 RCE via SCXML eval() Injection","details":"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 `\u003cdata expr=\"...\"\u003e` 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.","aliases":["GHSA-v4jc-pm6r-3vj8","PYSEC-2026-506"],"modified":"2026-08-30T03:30:52.662789028Z","published":"2026-06-17T14:32:08.180Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-95"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47103.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47103.json"},{"type":"ADVISORY","url":"https://github.com/fgmacedo/python-statemachine/releases/tag/v3.2.0"},{"type":"ADVISORY","url":"https://github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47103"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/python-statemachine-rce-via-scxml-eval-injection"},{"type":"PACKAGE","url":"https://github.com/fgmacedo/python-statemachine"},{"type":"EVIDENCE","url":"https://github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fgmacedo/python-statemachine","events":[{"introduced":"b31d830aa794633b32dd2029250fce663a4c1611"},{"fixed":"4fa6b2872580a5c0571d4c899a1802dea7513253"}],"database_specific":{"cpe":"cpe:2.3:a:fgmacedo:python_statemachine:*:*:*:*:*:python:*:*","extracted_events":[{"introduced":"3.0.0"},{"fixed":"3.2.0"}],"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"]}}],"versions":["v3.1.2","v3.1.1","v3.1.0","v3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47103.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}