boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2026-55415HIGH
koxudaxi datamodel-code-generator — datamodel-code-generator vulnerable to code injection via `x-python-import` / `customTypePath` in generated import statements
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   N   H   N   R  U  H  H  H    7.5   .0029   21.8     —
AFFECTED
  Product                   Versions               Fixed
  datamodel-code-generator  >= 0.11.6, < 0.64.0 –  —
TIMELINE
  Jun 16  Reserved by GitHub_M
  Jul 28  EXPLOIT PUBLISHED — CVE-2026-55415 (koxudaxi datamodel-code-generator). Public exploit reference added.
  Jul 28  Published (CNA: GitHub_M)
  Aug 6   EXPLOIT PUBLISHED — CVE-2026-55415 (koxudaxi datamodel-code-generator). Public exploit reference added.
CWE-94, CWE-95 · CNA: GitHub_M · CVSS v3.1 · 3 references · NVD status: Analyzed

Description

datamodel-code-generator generates Pydantic v2 models, dataclasses, TypedDict, and msgspec.Struct from OpenAPI, JSON Schema, GraphQL, Avro, Protobuf, and raw JSON, YAML, or CSV. From 0.11.6 until 0.64.0, datamodel-code-generator allows attacker-controlled x-python-import or customTypePath schema extensions to reach src/datamodel_code_generator/parser/jsonschema.py and generated import handling through Import.from_full_path and Imports.create_line in src/datamodel_code_generator/imports.py, allowing a newline to break out of an import statement and execute Python code when the generated model is imported. This issue is fixed in version 0.64.0.

Lifecycle

Complete event history — 4 events, chronological
DateEventDetail
June 16, 2026ReservedReserved by GitHub_M
July 28, 2026EXPLOIT PUBLISHEDEXPLOIT PUBLISHED — CVE-2026-55415 (koxudaxi datamodel-code-generator). Public exploit reference added.
July 28, 2026PublishedPublished (CNA: GitHub_M)
August 6, 2026EXPLOIT PUBLISHEDEXPLOIT PUBLISHED — CVE-2026-55415 (koxudaxi datamodel-code-generator). Public exploit reference added.

Affected

Affected products and packages — 1 row
VendorProduct / PackageEcosystemVersion introducedFixed
koxudaxidatamodel-code-generator>= 0.11.6, < 0.64.0

Weaknesses

CWE-94 · CWE-95

References (3)

Related

Authoritative record: CVE-2026-55415 at cve.org

Vendors: koxudaxi

Weaknesses: CWE-94 · CWE-95

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-55415 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.