- Latest release
- 0.91.0 (Nov 7, 2026): no advisory affects it
- Newest unaffected release
- 0.91.0 (Nov 7, 2026), the latest release
- Advisories
- 13 · 12 high, 1 low
- Weekly downloads
- 3.9M
- Dependents
- 203
- Releases
- 295 since 0.0.1 (Jul 23, 2019)
- Registry
- PyPI
- Releases read
- Nov 8, 2026
Version timeline
- CVE-2026-107377Affects 0.59.0 to 0.80.0 (0.81.0 is outside it)
- CVE-2026-55389Affects 0.0.1 to 0.61.0 (0.62.0 is outside it)
- CVE-2026-54653Affects 0.17.0 to 0.60.1 (0.60.2 is outside it)
- CVE-2026-55391Affects 0.0.1 to 0.62.0 (0.63.0 is outside it)
- CVE-2026-54656Affects 0.52.1 to 0.60.1 (0.60.2 is outside it)
- CVE-2026-54690Affects 0.9.1 to 0.60.2 (0.61.0 is outside it)
- CVE-2026-55415Affects 0.11.6 to 0.63.0 (0.64.0 is outside it)
- CVE-2026-54621Affects 0.25.0 to 0.60.0 (0.60.1 is outside it)
- CVE-2026-54655Affects 0.51.0 to 0.60.1 (0.60.2 is outside it)
- CVE-2026-55403Affects 0.0.1 to 0.62.0 (0.63.0 is outside it)
- CVE-2026-54691Affects 0.9.1 to 0.60.2 (0.61.0 is outside it)
- CVE-2026-55390Affects 0.59.0 to 0.61.0 (0.62.0 is outside it)
- CVE-2026-54654Affects 0.14.1 to 0.60.1 (0.60.2 is outside it)
Advisories 13
- CVE-2026-107377High 7.5
datamodel-code-generator: Protobuf weak-import path traversal allows files to be written outside the temporary directory
Affected: from 0.59.0, fixed in 0.81.0.
Fixed in 0.81.0 (released Sep 14, 2026, 24 days before disclosure).
The latest release, 0.91.0, is not affected.
- CVE-2026-55389High 7.5
datamodel-code-generator vulnerable to arbitrary local file read via JSON-Schema `$ref` (`file://` and `../` traversal), bypassing…
Affected: fixed in 0.62.0.
Fixed in 0.62.0 (released Jun 10, 2026, 48 days before disclosure).
The latest release, 0.91.0, is not affected.
- CVE-2026-54653High 8.8
`datamodel-code-generator` vulnerable to code injection in via attacker-controlled `default_factory` schema field
Affected: from 0.17.0, fixed in 0.60.2.
Fixed in 0.60.2 (released Jun 8, 2026, 50 days before disclosure).
The latest release, 0.91.0, is not affected.
- CVE-2026-55391High 7.5
datamodel-code-generator vulnerable to SSRF protection bypass via DNS rebinding
Affected: fixed in 0.63.0.
Fixed in 0.63.0 (released Jun 12, 2026, 46 days before disclosure).
The latest release, 0.91.0, is not affected.
- CVE-2026-54656High 7.8
`datamodel-code-generator` vulnerable to code execution on import via unescaped `validators` entries in --extra-template-data
Affected: from 0.52.1, fixed in 0.60.2.
Fixed in 0.60.2 (released Jun 8, 2026, 50 days before disclosure).
The latest release, 0.91.0, is not affected.
- CVE-2026-54690High 8.2
datamodel-code-generator vulnerable to SSRF via JSON-Schema `$ref` to HTTP URL (silent by default)
Affected: from 0.9.1, fixed in 0.61.0.
Fixed in 0.61.0 (released Jun 8, 2026, 50 days before disclosure).
The latest release, 0.91.0, is not affected.
- CVE-2026-55415High 7.5
datamodel-code-generator vulnerable to code injection via `x-python-import` / `customTypePath` in generated import statements
Affected: from 0.11.6, fixed in 0.64.0.
Fixed in 0.64.0 (released Jun 14, 2026, 44 days before disclosure).
The latest release, 0.91.0, is not affected.
- CVE-2026-54621High 7.8
`datamodel-code-generator` vulnerable to code injection via unescaped carriage return in GraphQL Union description
Affected: from 0.25.0, fixed in 0.60.1.
Fixed in 0.60.1 (released Jun 7, 2026, 51 days before disclosure).
The latest release, 0.91.0, is not affected.
- CVE-2026-54655High 7.8
`datamodel-code-generator` vulnerable to code execution on import via `x-python-type` JSON-Schema extension in datamodel-code-generator
Affected: from 0.51.0, fixed in 0.60.2.
Fixed in 0.60.2 (released Jun 8, 2026, 50 days before disclosure).
The latest release, 0.91.0, is not affected.
- CVE-2026-55403Low 3.7
datamodel-code-generator: Authorization / request headers leaked to cross-origin redirect target when fetching remote schemas
Affected: fixed in 0.63.0.
Fixed in 0.63.0 (released Jun 12, 2026, 46 days before disclosure).
The latest release, 0.91.0, is not affected.
- CVE-2026-54691High 8.2
datamodel-code-generator vulnerable to SSRF via --url: no host/IP validation, follows redirects
Affected: from 0.9.1, fixed in 0.61.0.
Fixed in 0.61.0 (released Jun 8, 2026, 50 days before disclosure).
The latest release, 0.91.0, is not affected.
- CVE-2026-55390High 7.5
Arbitrary local file read via XSD `schemaLocation` (`xs:include`/`xs:import`) path traversal, with no remote-ref gate
Affected: from 0.59.0, fixed in 0.62.0.
Fixed in 0.62.0 (released Jun 10, 2026, 48 days before disclosure).
The latest release, 0.91.0, is not affected.
- CVE-2026-54654High 7.8
`datamodel-code-generator` vulnerable to code injection via unescaped carriage return in `--extra-template-data` `comment` field
Affected: from 0.14.1, fixed in 0.60.2.
Fixed in 0.60.2 (released Jun 8, 2026, 50 days before disclosure).
The latest release, 0.91.0, is not affected.