CVE-2026-47103
Python StateMachine 3.0.0 < 3.2.0 RCE via SCXML eval() Injection
- State
- Published
- Severity
- 9.3 Critical
- Published
- Jun 17, 2026
- Updated
- Oct 8, 2026
- Reserved
- May 18, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | 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 | VulnCheck |
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Affected Products
| Product | Versions |
|---|---|
python-statemachinefgmacedo |
|
References
- Researcher Disclosuretechnical-descriptionexploit
- Release Notesrelease-notes
- GitHub Security Advisory (GHSA-v4jc-pm6r-3vj8)vendor-advisory
- https://www.vulncheck.com/advisories/python-statemachine-rce-via-scxml-eval-injectionthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.