Read the docs
TI-2026-34702 Aliases CVE-2026-47103GHSA-v4jc-pm6r-3vj8

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

Priority HIGH 81CWE-95Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-95.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01363 71st percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by the CNA and NVD
Fix Fixed python-statemachine (fgmacedo): 3.2.0python-statemachine (PyPI): 3.2.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
fgmacedopython-statemachine3.0.0 to before 3.2.03.2.0Patch availableCNA
—python-statemachine (PyPI)3.0.0 to before 3.2.03.2.0Patch availableGHSA-v4jc-pm6r-3vj8
  • python-statemachine Vendorfgmacedo Affected 3.0.0 to before 3.2.0 Fixed in 3.2.0 Patch available CNA
  • python-statemachine (PyPI) Vendor— Affected 3.0.0 to before 3.2.0 Fixed in 3.2.0 Patch available GHSA-v4jc-pm6r-3vj8

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:fgmacedo:python_statemachine:*:*:*:*:*:python:*:*3.0.0 to before 3.2.0Vulnerablefgmacedo
  • cpe:2.3:a:fgmacedo:python_statemachine:*:*:*:*:*:python:*:* Versions 3.0.0 to before 3.2.0 Vulnerable ·fgmacedo

Remediation

  • Fix · CNA python-statemachine (fgmacedo) Fixed in 3.2.0
  • Fix · GHSA-v4jc-pm6r-3vj8 python-statemachine (PyPI) Fixed in 3.2.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-47103
  2. 2026-10-03 Alias added: GHSA-v4jc-pm6r-3vj8

References

Sources