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, affecting versions 3.0.0 through before 3.2.0. The vulnerability stems from improper neutralization of directives in dynamically evaluated code, where malicious SCXML documents with crafted <data expr="..."> attributes are processed. The SCXMLProcessor passes these attacker-controlled expressions through a call chain that ends in Python's built-in eval() function without sandboxing or validation, enabling arbitrary code execution in the context of the hosting process.
Potential Impact
Successful exploitation allows an unauthenticated attacker to execute arbitrary code remotely within the context of the affected application process. This can lead to full system compromise, data theft, or disruption of service. The vulnerability has a CVSS 4.0 score of 9.3, indicating critical severity with network attack vector, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability.
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 features that evaluate expressions from external input. 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, affecting versions 3.0.0 through before 3.2.0. The vulnerability stems from improper neutralization of directives in dynamically evaluated code, where malicious SCXML documents with crafted <data expr="..."> attributes are processed. The SCXMLProcessor passes these attacker-controlled expressions through a call chain that ends in Python's built-in eval() function without sandboxing or validation, enabling arbitrary code execution in the context of the hosting process.
Potential Impact
Successful exploitation allows an unauthenticated attacker to execute arbitrary code remotely within the context of the affected application process. This can lead to full system compromise, data theft, or disruption of service. The vulnerability has a CVSS 4.0 score of 9.3, indicating critical severity with network attack vector, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability.
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 features that evaluate expressions from external input. 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: 6/17/2026, 3:07:24 PM
Last enriched: 6/17/2026, 3:09:24 PM
Last updated: 6/17/2026, 6:24:00 PM
Views: 41
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.