CVE-2026-47103: Vulnerability in Fgmacedo Python Statemachine

Critical. python-statemachine 3.1.2 evaluates <data expr="..."> attributes in SCXML documents using Python's eval(). Any application that passes attacker-controlled SCXML content to SCXMLProcessor is vulnerable to arbitrary code execution in the context of the hosting process.

PyPI, CWE-95, CWE-94

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-v4jc-pm6r-3vj8
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-95, CWE-94
Published
17 Jun 2026
Last change
16 Nov 2026
Ecosystem
PyPI

Affected products

Affected versions and the first fixed release

  • Fgmacedo Python Statemachine From 3.0.0 before 3.2.0. Fixed in 3.2.0

Affected packages

Vulnerable version ranges and fixed releases

  • python-statemachine PyPI, Affected from 3.0.0 before 3.2.0. Fixed in 3.2.0

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related