RCE in Fgmacedo Python-Statemachine
CVE-2026-47103
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.014, 72.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Fgmacedo Python-Statemachine — versions 3.0.0
- Fgmacedo Python Statemachine
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce (last pushed 2026-10-11): Python StateMachine 3.0.0 < 3.2.0 RCE via unsafe SCXML <data expr> evaluation and Python eval() injection.
References
- python-statemachine 3.2.0 Release Notes (release-notes, Release Notes)
- GitHub Security Advisory (GHSA-v4jc-pm6r-3vj8) (vendor-advisory, Exploit, Vendor Advisory)
- www.vulncheck.com/advisories/python-statemachine-rce-via-scxml-eval-injection (VDB Entry, Third Party Advisory, third-party-advisory)
- Researcher Disclosure (technical-description, exploit)
This CVE has public exploit evidence. See the latest CVEs with public exploits.