What’s Vulnerable › Vulnerabilities

CVE-2026-47103: Python StateMachine 3.0.0 < 3.2.0 RCE via SCXML eval() Injection

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.

Affected products

How to fix

Upgrade to a fixed version: fgmacedo python-statemachine 3.2.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-47103 or the next vulnerability affects your stack