Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. python-statemachine
  4. ›
  5. CVE-2026-47103

CVE-2026-47103: python-statemachine SCXML <data expr> Eval Injection

June 18, 2026

python-statemachine 3.1.2 evaluates <data expr="..."> attributes in SCXML documents using Python’s eval(). Any application that passes attacker-controlled SCXML content to SCXMLProcessor is vulnerable to arbitrary code execution in the context of the hosting process.

References

  • github.com/advisories/GHSA-v4jc-pm6r-3vj8
  • github.com/fgmacedo/python-statemachine/releases/tag/v3.2.0
  • github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8
  • nvd.nist.gov/vuln/detail/CVE-2026-47103
  • www.vulncheck.com/advisories/python-statemachine-rce-via-scxml-eval-injection

Code Behaviors & Features

Detect and mitigate CVE-2026-47103 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0.0 before 3.2.0

Fixed versions

  • 3.2.0

Solution

Upgrade to version 3.2.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Source file

pypi/python-statemachine/CVE-2026-47103.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 20 Jun 2026 12:17:09 +0000.