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.
Fix
Public exploits 1
- SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce PoC on GitHub
Each line links to the index that lists it, never to exploit code. Exploit-DB's "verified" and a Metasploit rank of good or better count as verified; a PoC-in-GitHub entry is a repository's claim.
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8 Exploit, Vendor Advisory
- https://github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8 Exploit, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 9.3 · fgmacedoNVD modified 2026-10-08 16:17
Affected (CPE criteria) 1
cpe:2.3:a:fgmacedo:python_statemachine:*:*:*:*:*:python:*:*
References 5
- https://github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce
- https://github.com/fgmacedo/python-statemachine/releases/tag/v3.2.0 Release Notes
- https://github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8 Exploit, Vendor Advisory
- https://www.vulncheck.com/advisories/python-statemachine-rce-via-scxml-eval-injection Third Party Advisory, VDB Entry
- https://github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8 Exploit, Vendor Advisory