CVE-2026-47103: fgmacedo python-statemachine · Eval Injection
Affects fgmacedo python-statemachineSource CVE Database V5
Not known to be exploited · CVSS 9.3 Critical : upgrade to 3.2.0 as a priority.
Data as of 30 Oct 2026, 20:25 UTC
- EPSS
- 1.3% chance of exploitation in 30 days – higher than 71% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.2.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 17 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade fgmacedo python-statemachine to 3.2.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| fgmacedopython-statemachine | Affected
| Fixed in– |
GitHubpython-statemachinepkg:github/python-statemachineOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, avoid processing untrusted SCXML documents or disable evaluation of expressions within <data expr="..."> attributes if possible.
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.
References
- github.com/fgmacedo/python-statemachine/releases/tag/v3.2.0 (opens in a new tab)
- github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8 (opens in a new tab)
- vulncheck.com/advisories/python-statemachine-rce-via-scxml-eval-injection (opens in a new tab)
- github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce (opens in a new tab)