CVE-2026-47103
Python StateMachine versions 3.0.0 before 3.2.0 contains a remote …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/fgmacedo/python-statemachine/releases/tag/v3.2.0
- github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8
- www.vulncheck.com/advisories/python-statemachine-rce-via-scxml-eval-injection
- nvd.nist.gov/vuln/detail/CVE-2026-47103
- github.com/advisories/GHSA-v4jc-pm6r-3vj8
- github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce
- github.com/pypa/advisory-database/tree/main/vulns/python-statemachine/PYSEC-2026-506.yaml
- pypi.org/project/python-statemachine
- nvd.nist.gov/vuln/detail/CVE-2026-47103
- cve.org/CVERecord?id=CVE-2026-47103
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.