Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2026-47103 EUVD-2026-37730GHSA-v4jc-pm6r-3vj8PYSEC-2026-506

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

Published Jun 17, 2026 · Updated Nov 8, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
fgmacedo python-statemachine 3.0.0 – < 3.2.0 3.2.0

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI python-statemachine >= 3.0.0, < 3.2.0 3.2.0 GHSA-v4jc-pm6r-3vj8

References