# CVE-2026-55391 — koxudaxi datamodel-code-generator

> As of 2026-07-28, CVE-2026-55391 is a HIGH-severity vulnerability in koxudaxi datamodel-code-generator, CVSS v3.1 7.5. No Threadlinqs-tracked threat campaign has been attributed to CVE-2026-55391 as of 2026-07-28; the identifier is re-checked against the Threadlinqs threat corpus on every daily ingest.

**Last updated:** 2026-07-28

## What is CVE-2026-55391?

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. Prior to 0.63.0, datamodel-code-generator validates a URL host once in src/datamodel_code_generator/http.py through get_body, _validate_url_for_fetch, and _get_ips_from_host, but then lets httpx resolve the host again for the connection, allowing DNS rebinding to bypass allow_private_network=False and reach internal services. This issue is fixed in version 0.63.0.

The record classifies CVE-2026-55391 under weakness classes [CWE-350](https://cwe.mitre.org/data/definitions/350.html), [CWE-367](https://intel.threadlinqs.com/cwe/CWE-367), [CWE-918](https://intel.threadlinqs.com/cwe/CWE-918). Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction, and has high impact on confidentiality. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 69 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 7.5 — HIGH (`CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N`)
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 3.8/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2026-07-28

## Is CVE-2026-55391 being exploited?

It currently carries a trending score of 30 in the Threadlinqs vulnerability feed.

## Affected products and versions

- [koxudaxi](https://intel.threadlinqs.com/vendors/koxudaxi): datamodel-code-generator

## How to fix CVE-2026-55391

No vendor patch reference has been recorded for CVE-2026-55391 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.

## Threat activity tracking CVE-2026-55391

No threat campaign in the Threadlinqs corpus currently references CVE-2026-55391, in its CVE list or as an indicator. The linkage is recomputed from the live corpus on every daily ingest, so this section fills in as soon as a tracked campaign cites the identifier.

## Sources

Enriched from CVE.org, NVD. Last verified by Threadlinqs on 2026-07-30. This product uses the NVD API but is not endorsed or certified by the NVD.

**Vendor advisory and patch**

- [github.com](https://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-vx7x-vcc2-c44g)

**Other references**

- [github.com](https://github.com/koxudaxi/datamodel-code-generator/commit/25c8b7e497419eb20b230fa3318c04f9bebc5a6f)
- [github.com (0.63)](https://github.com/koxudaxi/datamodel-code-generator/releases/tag/0.63.0)

Canonical: https://intel.threadlinqs.com/cve/CVE-2026-55391
Full detection coverage and IOCs for threats exploiting CVE-2026-55391 via the Threadlinqs MCP server (Purple tier): https://intel.threadlinqs.com/mcp
