CVE-2026-47103
critical · 9.3Python 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.
9.3
CVSS
1.4%
EPSS (exploit prob.)
71st
EPSS percentile
2026-06-17
Published
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weaknesses
CWE-95CWE-94
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| fgmacedo | python_statemachine | >= 3.0.0, < 3.2.0 |
Check a specific version with /api/v1/cve/match.
References
- https://github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce
- https://github.com/fgmacedo/python-statemachine/releases/tag/v3.2.0
- https://github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8
- https://www.vulncheck.com/advisories/python-statemachine-rce-via-scxml-eval-injection
- https://github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8
Query this programmatically:
curl https://evil-db.io/api/v1/cve/CVE-2026-47103