{"cve":"CVE-2026-47103","nvd":{"published":"2026-06-17T15:16:58.460","modified":"2026-10-26T12:10:00.130","status":"Modified","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":{"vector":"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","score":9.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-94","CWE-95"],"references":["https://github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce","https://github.com/fgmacedo/python-statemachine/releases/tag/v3.2.0","https://github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8","https://www.vulncheck.com/advisories/python-statemachine-rce-via-scxml-eval-injection","https://github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8"],"products":["fgmacedo:python_statemachine"],"source":"nvd","synced_at":"2026-10-26T12:35:18.182177120+00:00"},"epss":{"cve":"CVE-2026-47103","score":0.01363,"percentile":0.71583,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-v4jc-pm6r-3vj8","url":"https://osv.dev/vulnerability/GHSA-v4jc-pm6r-3vj8","summary":"python-statemachine SCXML <data expr> Eval Injection","modified":"2026-06-29T12:26:35.363159595Z","packages":[{"ecosystem":"PyPI","name":"python-statemachine","purl":"pkg:pypi/python-statemachine","ranges":[">=3.0.0 <3.2.0"],"fixed":["3.2.0"]}]},{"id":"PYSEC-2026-506","url":"https://osv.dev/vulnerability/PYSEC-2026-506","summary":"python-statemachine SCXML <data expr> Eval Injection","modified":"2026-07-01T20:23:03.302193Z","packages":[{"ecosystem":"PyPI","name":"python-statemachine","purl":"pkg:pypi/python-statemachine","ranges":[">=3.0.0 <3.2.0"],"fixed":["3.2.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}