CVE-2026-47103
CRITICAL 9.3CVSS 4.0python-statemachine SCXML <data expr> Eval Injection
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
- 17 Jun 2026
- Last modified
- 16 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Modified
- Weakness
- CWE-94CWE-95
- Also known as
- GHSA-v4jc-pm6r-3vj8PYSEC-2026-506
- Sources
- NVDJSONOSV GHSA-v4jc-pm6r-3vj8JSONOSV PYSEC-2026-506JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | CRITICAL 9.3 | 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 |
| OSV | GitHub | CVSS 4.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: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 | |
| OSV | PyPA | CVSS 4.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: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 | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fgmacedo | python_statemachinecpe:2.3:a:fgmacedo:python_statemachine:*:*:*:*:*:python:*:* |
>= 3.0.0, < 3.2.0 | 3.2.0 |
| OSV | PyPI | python-statemachine | >= 3.0.0, < 3.2.0 | 3.2.0 |
References
- https://github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce · WEB
- https://github.com/fgmacedo/python-statemachine/releases/tag/v3.2.0 · Release Notes, WEB
- https://github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8 · Exploit, Vendor Advisory, WEB
- https://www.vulncheck.com/advisories/python-statemachine-rce-via-scxml-eval-injection · Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-47103 · ADVISORY
- https://github.com/fgmacedo/python-statemachine · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/python-statemachine/PYSEC-2026-506.yaml · WEB
- https://pypi.org/project/python-statemachine · WEB, PACKAGE
- https://github.com/advisories/GHSA-v4jc-pm6r-3vj8 · ADVISORY
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 17 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Jun 2026)