nday
CVE-2026-47103 GHSA-v4jc-pm6r-3vj8

Python StateMachine 3.0.0 < 3.2.0 RCE via SCXML eval() Injection

fgmacedo / python-statemachine

Preuve de concept publique parue 59 jours après la divulgation. Version corrigée : python-statemachine 3.2.0. Cette vulnérabilité figure dans une seule des 4 sources de PoC : github. Aucune inscription au catalogue KEV de la CISA à ce jour.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

code injection
CWE-94, stated by NVD's analysts et GitHub advisory GHSA-v4jc-pm6r-3vj8CWE-95, stated by the CNA VulnCheck, NVD, republishing [email protected] et GitHub advisory GHSA-v4jc-pm6r-3vj8
remote, unauthenticated
AV:N, PR:N, UI:N in 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 (CVSS 4.0) from the CNA VulnCheck
network
AV:N in 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 (CVSS 4.0) from the CNA VulnCheck
no authentication required
PR:N in 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 (CVSS 4.0) from the CNA VulnCheck
no user interaction
UI:N in 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 (CVSS 4.0) from the CNA VulnCheck
PyPI
GHSA-v4jc-pm6r-3vj8: pip packages python-statemachine
étape actuelle
POC
divulgation
délai avant correctif
T+152d
CVSS
9.3 CRITICAL v4.0

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
06-17T14:32Z
PATcorrectif
11-16T17:01Z
ANAanalyse
aucune donnée
POCPoC
08-15, date seule
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:N
None: success does not depend on how the target is deployed or running
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 4.0 vector from the CVE record, scored by the CNA VulnCheck.

Journal des événements

+DISdivulgation

Fiche CVE publiée par VulnCheck. CVSS 9.3, gravité critique. Évaluation SSVC de la CISA : exploitation au niveau « poc ».

source cvelist · importé en masse par nday le · brut
{
  "id": 10592,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-47103",
  "occurred_at": "2026-06-17T14:32:08.18Z",
  "observed_at": "2026-11-12T14:10:31.286634Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "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",
      "version": "4.0",
      "base_score": 9.3,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2026-06-18T14:30:49.802580Z",
      "automatable": "yes",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-06-17T14:32:08.180Z",
    "assigner_short_name": "VulnCheck"
  }
}
2026-08-15date seule, selon la source
+POCPoC publique

Dépôt de PoC sur GitHub : SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce. La date est celle de la création du dépôt.

source github 1335428168 · importé en masse par nday le · brut
{
  "id": 483209,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce",
  "occurred_at": "2026-08-15T21:25:54Z",
  "observed_at": "2026-11-19T00:00:00Z",
  "is_backfill": true,
  "dedupe_key": "1335428168",
  "detail": {
    "url": "https://github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce",
    "title": "SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce",
    "precision": "day"
  }
}
source non datée ; vu en direct par nday
+PATcorrectif disponible

L’avis indique la version corrigée python-statemachine 3.2.0. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa GHSA-v4jc-pm6r-3vj8 · observé en direct par nday le · brut
{
  "id": 473091,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-v4jc-pm6r-3vj8",
  "occurred_at": null,
  "observed_at": "2026-11-16T17:01:02.573287Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-v4jc-pm6r-3vj8",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 9.8,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
      },
      "cvss_v4": {
        "score": 9.3,
        "vector_string": "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
      }
    },
    "cwes": [
      {
        "name": "Improper Control of Generation of Code",
        "cwe_id": "CWE-94"
      },
      {
        "name": "Improper Neutralization of Directives in Dynamically Evaluated Code",
        "cwe_id": "CWE-95"
      }
    ],
    "ghsa_id": "GHSA-v4jc-pm6r-3vj8",
    "packages": [
      {
        "name": "python-statemachine",
        "ecosystem": "pip",
        "first_patched_version": "3.2.0",
        "vulnerable_version_range": ">= 3.0.0, < 3.2.0"
      }
    ],
    "severity": "critical",
    "references": [
      "https://github.com/fgmacedo/python-statemachine/security/advisories/GHSA-v4jc-pm6r-3vj8",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-47103",
      "https://github.com/fgmacedo/python-statemachine/releases/tag/v3.2.0",
      "https://www.vulncheck.com/advisories/python-statemachine-rce-via-scxml-eval-injection",
      "https://github.com/SaiTeja-Erukude/CVE-2026-47103-python-statemachine-rce",
      "https://github.com/pypa/advisory-database/tree/main/vulns/python-statemachine/PYSEC-2026-506.yaml",
      "https://pypi.org/project/python-statemachine",
      "https://github.com/advisories/GHSA-v4jc-pm6r-3vj8"
    ],
    "fix_commit_urls": [],
    "github_reviewed_at": "2026-06-18T14:28:02Z",
    "advisory_updated_at": "2026-11-16T16:08:19Z",
    "source_code_location": "https://github.com/fgmacedo/python-statemachine",
    "advisory_published_at": "2026-06-18T14:28:02Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.