CVE-2026-47103

CRITICAL

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

Title source: cna
STIX 2.1

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.

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