CVE-2026-47103 Python StateMachine 3.0.0 < 3.2.0 RCE via SCXML eval() Injection
CriticalCVSS 9.3
EPSS 1.4%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| fgmacedo python statemachine | >= 3.0.0, < 3.2.0 | 3.2.0 | Fixed |
| pypi python-statemachine | >= 3.0.0, < 3.2.0 | 3.2.0 | Fixed |
| pypi python-statemachine(PyPI) | = 3.0.0; = 3.1.0; = 3.1.1; = 3.1.2 +1 more | 3.2.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi python-statemachine | >= 3.0.0, < 3.2.0 | 3.2.0 |
| pypi python-statemachine(PyPI) | >= 3.0.0, < 3.2.0 | 3.2.0 |
| pypi python-statemachine(PyPI) | = 3.0.0 | No fix listed |
| pypi python-statemachine(PyPI) | = 3.1.0 | No fix listed |
| pypi python-statemachine(PyPI) | = 3.1.1 | No fix listed |
| pypi python-statemachine(PyPI) | = 3.1.2 | No fix listed |
| fgmacedo python statemachine | >= 3.0.0, < 3.2.0 | 3.2.0 |
References
- Researcher Disclosure exploit technical-description
- python-statemachine 3.2.0 Release Notes release-notes
- GitHub Security Advisory (GHSA-v4jc-pm6r-3vj8) exploit vendor-advisory
- www.vulncheck.com third-party-advisory vdb-entry
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- pypi.org product
- github.com vendor-advisory
- github.com
- ENISA EUVD EUVD-2026-37730 third-party-advisory