Live threats

All CVEs / Fgmacedo

CVE-2026-47103Fgmacedo Python Statemachine

Critical 9.3 No auth needed

Priority
71
CVSS 4.0
9.3
EPSS
—
Auth required
No
Published
Jun 17, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-95, CWE-94
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Python Statemachine.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI python-statemachine ≥ 3.0.0 < 3.2.0 3.2.0 pip install "python-statemachine>=3.2.0"
PyPI python-statemachine ≥ 3.0.0 < 3.2.0 3.2.0 pip install "python-statemachine>=3.2.0"

Per OSV / GitHub Advisories (GHSA-v4jc-pm6r-3vj8, PYSEC-2026-506). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
fgmacedopython_statemachine≥ 3.0.0 < 3.2.0

Official sources

References

Links published by the sources. Open them with care.