Eval Injection Affecting python-statemachine package, versions [3.0.0,3.2.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Social Trends
EPSS
1.17% (65th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Eval Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PYTHONSTATEMACHINE-17675195
  • published29 Jun 2026
  • disclosed18 Jun 2026
  • creditUnknown

Introduced: 18 Jun 2026

CVE-2026-47103  (opens in a new tab)
CWE-95  (opens in a new tab)

How to fix?

Upgrade python-statemachine to version 3.2.0 or higher.

Overview

python-statemachine is a Python Finite State Machines made easy.

Affected versions of this package are vulnerable to Eval Injection via the SCXMLProcessor.parse_scxml_file process. An attacker can execute arbitrary code in the context of the hosting process by supplying a crafted SCXML document containing malicious <data expr> attributes that are evaluated without restriction.

CVSS Base Scores

version 4.0
version 3.1