CVE-2026-47103: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in fgmacedo python-statemachine
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.
AI Analysis
Technical Summary
CVE-2026-47103 is a critical remote code execution vulnerability in the fgmacedo python-statemachine library. Versions 3.0.0 up to but not including 3.2.0 are affected. The vulnerability occurs because the SCXMLProcessor component evaluates expressions from <data expr="..."> attributes in SCXML documents using Python's built-in eval() function without any sandboxing or input validation. This allows an attacker to supply malicious SCXML documents that execute arbitrary code in the context of the hosting process, leading to full compromise of the application environment.
Potential Impact
Successful exploitation enables remote attackers to execute arbitrary code on the host running the vulnerable python-statemachine library. This can lead to complete system compromise, data theft, or disruption of service. The vulnerability requires no privileges or user interaction and has a low attack complexity, making it highly dangerous.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing untrusted SCXML documents or disable evaluation of expressions within <data expr="..."> attributes if possible. Monitor vendor channels for updates and apply patches promptly once released.
CVE-2026-47103: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in fgmacedo python-statemachine
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 v4.0
Score 9.3critical
Affected software
pkg:github/python-statemachineRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-47103 is a critical remote code execution vulnerability in the fgmacedo python-statemachine library. Versions 3.0.0 up to but not including 3.2.0 are affected. The vulnerability occurs because the SCXMLProcessor component evaluates expressions from <data expr="..."> attributes in SCXML documents using Python's built-in eval() function without any sandboxing or input validation. This allows an attacker to supply malicious SCXML documents that execute arbitrary code in the context of the hosting process, leading to full compromise of the application environment.
Potential Impact
Successful exploitation enables remote attackers to execute arbitrary code on the host running the vulnerable python-statemachine library. This can lead to complete system compromise, data theft, or disruption of service. The vulnerability requires no privileges or user interaction and has a low attack complexity, making it highly dangerous.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing untrusted SCXML documents or disable evaluation of expressions within <data expr="..."> attributes if possible. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-05-18T19:22:26.748Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a32b82c9f87a2db090fd5eb
Added to database: 06/17/2026, 15:07:24 UTC
Last enriched: 07/15/2026, 10:03:43 UTC
Last updated: 08/01/2026, 07:18:00 UTC
Views: 151
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.