p PatchFirst

CVE-2026-47103

CVE-2026-47103 · Python StateMachine 3.0.0 < 3.2.0 RCE via SCXML eval() Injection

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 9.3 · Critical · EPSS 1.4% · Public exploit · Fix available

Published
Updated

Stack: python

Affected products and versions

  • python-statemachine

    Versions
    • ≥ 3.0.0, < 3.2.0: Affected (semver)

    Update to 3.2.0

  • python-statemachine PyPI

    Versions
    • 3.0.0
    • 3.1.0
    • 3.1.1
    • 3.1.2
    Affected ranges
    • ECOSYSTEM: ≥ 3.0.0, < 3.2.0

    Update to 3.2.0

Original sources

Check your server →