CVE-2026-47103

Python StateMachine 3.0.0 < 3.2.0 RCE via SCXML eval() Injection

Published Jun 17, 2026 CVSS 4.0 · 9.3 Critical EPSS 1.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-v4jc-pm6r-3vj8 python-statemachine SCXML <data expr> Eval Injection
History
Type Values Removed Values Added
First Time appeared Fgmacedo python Statemachine
CPEs cpe:2.3:a:fgmacedo:python_statemachine:*:*:*:*:*:python:*:*
Vendors & Products Fgmacedo python Statemachine
Type Values Removed Values Added
First Time appeared Fgmacedo
Fgmacedo python-statemachine
Vendors & Products Fgmacedo
Fgmacedo python-statemachine
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Python StateMachine 3.0.0 < 3.2.0 RCE via SCXML eval() Injection
Weaknesses CWE-95
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:04 PM
Reserved
May 18, 2026, 7:22 PM
Status
Modified
Published
Jun 17, 2026, 3:16 PM
Modified
Oct 26, 2026, 12:10 PM