Skip to main content
← All vulnerabilities
CVE-2026-47103GHSA-V4JC-PM6R-3VJ8PYSEC-2026-506

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.2.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • fgmacedo python-statemachine

    From 3.0.0 · fixed in 3.2.0

  • python-statemachinePyPI

    From 3.0.0 · fixed in 3.2.0

References 4

GitHub · SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce

GitHub · fgmacedo/python-statemachine

vulncheck.com