{"id":"CVE-2026-47103","title":"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 evalu…","summary":"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 evalu…","severity":"critical","cvss":9.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-95","CWE-94"],"vendor":"fgmacedo","product":"python_statemachine","affected":["python_statemachine >= 3.0.0, < 3.2.0"],"patched":["python_statemachine 3.2.0"],"published":"2026-06-17","updated":"2026-10-08","sourceUpdated":"2026-10-08T16:17:17.513","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-47103","references":[{"url":"https://github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce","label":"disclosure@vulncheck.com"},{"url":"https://github.com/fgmacedo/python-statemachine/releases/tag/v3.2.0","label":"disclosure@vulncheck.com"},{"url":"https://github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/python-statemachine-rce-via-scxml-eval-injection","label":"disclosure@vulncheck.com"},{"url":"https://github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47103"},{"url":"https://github.com/advisories/GHSA-v4jc-pm6r-3vj8"}],"tags":["nvd","cve.org","exploit-available","ghsa","pip"],"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-06-18T14:30:49.802580Z"},"epss":0.01363,"epssPercentile":0.71637,"exploits":{"github":1,"githubRepos":["https://github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce"],"checkedAt":"2026-10-27T16:38:00.793Z"},"ecosystem":"pip","ingestedAt":"2026-06-19T03:39:00.826Z","slug":"CVE-2026-47103","body":"## Overview\n\nPython 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.\n\n## Affected\n\n- `python_statemachine >= 3.0.0, < 3.2.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `python_statemachine 3.2.0`\n\n## Package advisory (CVE-2026-47103)\n\nAffected packages:\n\n- `python-statemachine >= 3.0.0, < 3.2.0`\n\nPatched in:\n\n- `python-statemachine 3.2.0`\n\nSource: https://github.com/advisories/GHSA-v4jc-pm6r-3vj8","depth":"abyssal","depthScore":66,"depthScoreParts":{"impact":53.9,"likelihood":0.3,"exploitation":12,"ransomware":0},"changes":[{"seq":4436,"id":"CVE-2026-47103","ts":1788887179105,"field":"exploit_available","old":"false","new":"true"},{"seq":3319,"id":"CVE-2026-47103","ts":1788886298182,"field":"exploit_available","old":"true","new":"false"},{"seq":2174,"id":"CVE-2026-47103","ts":1788882968123,"field":"exploit_available","old":"false","new":"true"},{"seq":1203,"id":"CVE-2026-47103","ts":1788882367362,"field":"exploit_available","old":"true","new":"false"},{"seq":317,"id":"CVE-2026-47103","ts":1788881814256,"field":"exploit_available","old":"false","new":"true"}]}