CVE-2026-47103
Fgmacedo Python Statemachine remote code execution
- Published17 Jun 2026
Description
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.
CVSS 3.1 breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAffected products
Remediation
References
- https://github.com/fgmacedo/python-statemachine/releases/tag/v3.2.0
- https://github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8
- https://github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce
- https://www.vulncheck.com/advisories/python-statemachine-rce-via-scxml-eval-injection
Related CVEs
Recent high-severity vulnerabilities sharing a weakness type.
Frequently asked
Is CVE-2026-47103 being actively exploited?
CVE-2026-47103 is not in the CISA KEV catalog. A public exploit reference exists, so treat it as exploitable. Its EPSS exploit probability is 1.37%.
How severe is CVE-2026-47103?
CVE-2026-47103 has a CVSS 3.1 base score of 9.8, rated critical. EPSS estimates a 1.37% probability of exploitation.
Which products are affected by CVE-2026-47103?
Affected products include Fgmacedo Python Statemachine.
How do I fix CVE-2026-47103?
Upgrade affected software to a fixed version, for example Fgmacedo Python Statemachine 3.2.0 or later, then confirm no affected versions remain in your inventory.
How Secuno handles this
Secuno correlates vulnerabilities like CVE-2026-47103 against the real software inventory on every managed device, as each hourly inventory arrives. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.
Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.