CVE-2026-47103

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductFgmacedo Python Statemachine
PublishedJun 17, 2026
First seenJun 17, 2026
Weakness typeCWE-95CWE-95

How to fix

Update
  • fgmacedo python_statemachine3.2.0 or later
  • python-statemachine3.2.0 or later

Affected products

ProductAffected versionsFixed in
fgmacedo python_statemachine3.0.0 ≤ v < 3.2.03.2.0
python-statemachinePyPI3.0.0 ≤ v < 3.2.03.2.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-47103 · Fgmacedo Python Statemachine · Dark Radar