Fgmacedo python-statemachine
Python StateMachine 3.0.0 < 3.2.0 RCE via SCXML eval() Injection
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.0.0, < 3.2.0
Fixed in 3.2.0
Mitigation
Upgrade python-statemachine to 3.2.0 or later.
References
- Release notes github.com/fgmacedo/python-statemachine/releas…
- Vendor advisory github.com/fgmacedo/python-statemachine/securi…
Timeline
Days relative to CVE publicationFirst public PoC 59 days after publication; not in CISA KEV. First PoC: SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce (created 15 Aug 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce | 15 Aug 2026 +59 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.