CVE-2026-47103 PUBLISHED

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

Assigner: VulnCheck
Reserved: 18.05.2026 Published: 17.06.2026 Updated: 17.06.2026

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.

Metrics

CVSS 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
CVSS Score: 9.3

Product Status

Vendor fgmacedo
Product python-statemachine
Versions Default: affected
  • affected from 3.0.0 to 3.2.0 (excl.)

Credits

  • Sai Teja Erukude finder
  • VulnCheck coordinator

References

Problem Types

  • Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') CWE