CVE-2026-47103Fgmacedo Python Statemachine
Critical 9.3 No auth needed
Follow: this CVE · Fgmacedo · Fgmacedo Python Statemachine We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 4.0
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Jun 17, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for Python Statemachine.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | python-statemachine |
≥ 3.0.0 < 3.2.0 |
3.2.0 |
pip install "python-statemachine>=3.2.0" |
| PyPI | python-statemachine |
≥ 3.0.0 < 3.2.0 |
3.2.0 |
pip install "python-statemachine>=3.2.0" |
Per OSV / GitHub Advisories (GHSA-v4jc-pm6r-3vj8, PYSEC-2026-506). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| fgmacedo | python_statemachine | ≥ 3.0.0 < 3.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com
- github.com Release Notes
- github.com Exploit Vendor Advisory
- www.vulncheck.com Third Party Advisory VDB Entry