CVE-2026-47103

GHSA-v4jc-pm6r-3vj8 · published 17 Jun 2026 · updated 16 Nov 2026

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

10.0CriticalCVSS 9.8EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.2.0 and python-statemachine 3.2.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
fgmacedo>=3.0.0 <3.2.03.2.0
pypi: python-statemachine>=3.0.0 <3.2.03.2.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-47103 severity on Zeptric[![CVE-2026-47103](https://zeptric.io/badge/cve/CVE-2026-47103.svg)](https://zeptric.io/cve/CVE-2026-47103)