Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 1.2%top 36%

CVE-2026-47103: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in fgmacedo python-statemachine

0
Critical
VulnerabilityCVE-2026-47103cvecve-2026-47103
Published: 06/17/2026 (06/17/2026, 14:32:08 UTC)
Source: CVE Database V5
Vendor/Project: fgmacedo
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →cve
python-statemachine
pkg:github/python-statemachine
Affected versions
>=3.0.0 <3.2.0

Run 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

AILast updated: 07/15/2026, 10:03:43 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses