Python StateMachine 3.0.0 < 3.2.0 RCE via SCXML eval() Injection
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-95.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| fgmacedo | python-statemachine | 3.0.0 to before 3.2.0 | 3.2.0 | Patch available | CNA |
| — | python-statemachine (PyPI) | 3.0.0 to before 3.2.0 | 3.2.0 | Patch available | GHSA-v4jc-pm6r-3vj8 |
- python-statemachine Vendorfgmacedo Affected 3.0.0 to before 3.2.0 Fixed in 3.2.0 Patch available CNA
- python-statemachine (PyPI) Vendor— Affected 3.0.0 to before 3.2.0 Fixed in 3.2.0 Patch available GHSA-v4jc-pm6r-3vj8
Remediation
- Fix · CNA python-statemachine (fgmacedo) Fixed in 3.2.0
- Fix · GHSA-v4jc-pm6r-3vj8 python-statemachine (PyPI) Fixed in 3.2.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-47103
- 2026-10-03 Alias added: GHSA-v4jc-pm6r-3vj8
References
Sources
- CVE-2026-47103 · CVE Program
- CVE-2026-47103 · NVD
- FIRST EPSS
- GHSA-v4jc-pm6r-3vj8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences