CVE-2026-47103
CRITICALPython StateMachine 3.0.0 < 3.2.0 RCE via SCXML eval() Injection
Title source: cnaDescription
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.
References (3)
Core 3
Core References
Release Notes release-notes
https://github.com/fgmacedo/python-statemachine/releases/tag/v3.2.0
Vendor Advisory vendor-advisory
https://github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/python-statemachine-rce-via-scxml-eval-injection
Scores
CVSS v3
9.8
EPSS
0.0119
EPSS Percentile
64.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
total
Details
CWE
CWE-94
CWE-95
Status
published
Products (3)
fgmacedo/python-statemachine
3.0.0 - 3.2.0
fgmacedo/python_statemachine
3.0.0 - 3.2.0
pypi/python-statemachine
3.0.0 - 3.2.0PyPI
Published
Jun 17, 2026
Tracked Since
Jun 17, 2026