Lucene search
+L

7077 matches found

OSV
OSV
added 2026/07/28 9:33 p.m.3 views

GHSA-M34R-V34R-RF9Q `datamodel-code-generator` vulnerable to code execution on import via `x-python-type` JSON-Schema extension in datamodel-code-generator

Summary datamodel-code-generator honours a custom x-python-type JSON-Schema extension that lets a schema author override the generated Python type for a field. The value is forwarded verbatim into the generated Python source as the field annotation, with a single sanitisation pass that is trivial...

7.8CVSS6.4AI score0.00145EPSS
SaveExploits0References4
Cvelist
Cvelist
added 2026/07/28 9:33 p.m.39 views

CVE-2026-54655 `datamodel-code-generator` vulnerable to code execution on import via `x-python-type` JSON-Schema extension in datamodel-code-generator

datamodel-code-generator generates Python data models from schema definitions. From 0.51.0 until 0.60.2, x-python-type values parsed by src/datamodelcodegenerator/parser/jsonschema.py in getpythontypeoverride are inserted into generated field annotations without sufficient validation, allowing...

7.8CVSS0.00145EPSS
SaveExploits0References3
OSV
OSV
added 2026/07/28 9:33 p.m.4 views

CVE-2026-54655 `datamodel-code-generator` vulnerable to code execution on import via `x-python-type` JSON-Schema extension in datamodel-code-generator

datamodel-code-generator generates Python data models from schema definitions. From 0.51.0 until 0.60.2, x-python-type values parsed by src/datamodelcodegenerator/parser/jsonschema.py in getpythontypeoverride are inserted into generated field annotations without sufficient validation, allowing...

7.8CVSS6AI score
SaveExploits0References5
CVE
CVE
added 2026/07/28 9:33 p.m.45 views

CVE-2026-54655

Summary: datamodel-code-generator (Python) is vulnerable from versions 0.51.0 through 0.60.2 where x-python-type values parsed by src/datamodel_code_generator/parser/jsonschema.py in _get_python_type_override are injected into generated field annotations without sufficient validation, allowing at...

7.8CVSS6.1AI score0.00145EPSS
SaveExploits0References3
Snyk
Snyk
added 2026/07/28 9:32 p.m.12 views

Exposure of Private Personal Information to an Unauthorized Actor

Overview datamodel-code-generator is a Datamodel Code Generator Affected versions of this package are vulnerable to Exposure of Private Personal Information to an Unauthorized Actor via the getbody function. An attacker can obtain sensitive authorization headers by causing a redirect to a differe...

8.2CVSS5.5AI score0.00211EPSS
SaveExploits0References2
OSV
OSV
added 2026/07/28 9:32 p.m.8 views

GHSA-R5VV-FF45-PRP2 datamodel-code-generator: Authorization / request headers leaked to cross-origin redirect target when fetching remote schemas

Summary When datamodel-code-generator fetches a remote schema and follows an HTTP redirect, it re-sends the original request headers, including any Authorization header, to the redirect target even when the redirect changes origin host/port/scheme. Credentials that an operator scoped to a trusted...

3.7CVSS5.9AI score0.00211EPSS
SaveExploits0References4
ATTACKERKB
ATTACKERKB
added 2026/07/28 9:31 p.m.7 views

CVE-2026-55403

datamodel-code-generator generates Python data models from schema definitions. Prior to 0.63.0, src/datamodelcodegenerator/http.py getbody reuses Authorization, Cookie, and Proxy-Authorization headers when following cross-origin redirects while fetching remote schemas, allowing credentials scoped...

3.7CVSS5.9AI score0.00211EPSS
SaveExploits0References4Affected Software1
Cvelist
Cvelist
added 2026/07/28 9:31 p.m.37 views

CVE-2026-55403 datamodel-code-generator: Authorization / request headers leaked to cross-origin redirect target when fetching remote schemas

datamodel-code-generator generates Python data models from schema definitions. Prior to 0.63.0, src/datamodelcodegenerator/http.py getbody reuses Authorization, Cookie, and Proxy-Authorization headers when following cross-origin redirects while fetching remote schemas, allowing credentials scoped...

3.7CVSS0.00211EPSS
SaveExploits0References3
Vulnrichment
Vulnrichment
added 2026/07/28 9:31 p.m.8 views

CVE-2026-55403 datamodel-code-generator: Authorization / request headers leaked to cross-origin redirect target when fetching remote schemas

datamodel-code-generator generates Python data models from schema definitions. Prior to 0.63.0, src/datamodelcodegenerator/http.py getbody reuses Authorization, Cookie, and Proxy-Authorization headers when following cross-origin redirects while fetching remote schemas, allowing credentials scoped...

3.7CVSS5.9AI score0.00211EPSS
SaveExploits0References3
CVE
CVE
added 2026/07/28 9:31 p.m.46 views

CVE-2026-55403

CVE-2026-55403 affects the Python package datamodel-code-generator. In versions prior to 0.63.0, the code path in src/datamodel_code_generator/http.py:get_body reuses Authorization, Cookie, and Proxy-Authorization headers when following cross-origin redirects to fetch remote schemas. This can lea...

3.7CVSS5.9AI score0.00211EPSS
SaveExploits0References3
OSV
OSV
added 2026/07/28 9:31 p.m.4 views

CVE-2026-55403 datamodel-code-generator: Authorization / request headers leaked to cross-origin redirect target when fetching remote schemas

datamodel-code-generator generates Python data models from schema definitions. Prior to 0.63.0, src/datamodelcodegenerator/http.py getbody reuses Authorization, Cookie, and Proxy-Authorization headers when following cross-origin redirects while fetching remote schemas, allowing credentials scoped...

3.7CVSS5.9AI score
SaveExploits0References5
Github Security Blog
Github Security Blog
added 2026/07/28 9:30 p.m.17 views

datamodel-code-generator vulnerable to SSRF via --url: no host/IP validation, follows redirects

Summary datamodel-code-generator's built-in HTTP fetcher http.getbody issues an httpx.GET against any URL passed to --url or reached via a redirect chain with no allow-list, no deny-list, no IP/host validation, and followredirects=True. Loopback addresses, RFC1918 ranges, link-local 169.254.169.2...

8.2CVSS6AI score0.00209EPSS
SaveExploits0References4Affected Software1
Snyk
Snyk
added 2026/07/28 9:30 p.m.12 views

Server-side Request Forgery (SSRF)

Overview datamodel-code-generator is a Datamodel Code Generator Affected versions of this package are vulnerable to Server-side Request Forgery SSRF in the getbody function when processing URLs provided via the --url argument, as there is no validation of host or IP addresses and redirects are...

8.3CVSS5.5AI score0.00209EPSS
SaveExploits0References2
OSV
OSV
added 2026/07/28 9:30 p.m.5 views

GHSA-RFR2-MQ9M-X2QX datamodel-code-generator vulnerable to SSRF via --url: no host/IP validation, follows redirects

Summary datamodel-code-generator's built-in HTTP fetcher http.getbody issues an httpx.GET against any URL passed to --url or reached via a redirect chain with no allow-list, no deny-list, no IP/host validation, and followredirects=True. Loopback addresses, RFC1918 ranges, link-local 169.254.169.2...

8.2CVSS6AI score0.00209EPSS
SaveExploits0References4
Cvelist
Cvelist
added 2026/07/28 9:29 p.m.38 views

CVE-2026-54691 datamodel-code-generator vulnerable to SSRF via --url: no host/IP validation, follows redirects

datamodel-code-generator generates Python data models from schema definitions. From 0.9.1 until 0.61.0, src/datamodelcodegenerator/http.py http.getbody accepts --url targets and redirect chain targets without host/IP validation, allowing server-side request forgery against loopback, private,...

8.2CVSS0.00209EPSS
SaveExploits0References3
CVE
CVE
added 2026/07/28 9:29 p.m.45 views

CVE-2026-54691

CVE-2026-54691 affects datamodel-code-generator prior to 0.61.0; the http.get_body function in src/datamodel_code_generator/http.py accepts --url targets and redirect chains without host/IP validation, enabling server-side request forgery to loopback, private, link-local, metadata, and other netw...

8.2CVSS5.9AI score0.00209EPSS
SaveExploits0References3
OSV
OSV
added 2026/07/28 9:29 p.m.4 views

CVE-2026-54691 datamodel-code-generator vulnerable to SSRF via --url: no host/IP validation, follows redirects

datamodel-code-generator generates Python data models from schema definitions. From 0.9.1 until 0.61.0, src/datamodelcodegenerator/http.py http.getbody accepts --url targets and redirect chain targets without host/IP validation, allowing server-side request forgery against loopback, private,...

8.2CVSS5.9AI score
SaveExploits0References5
Snyk
Snyk
added 2026/07/28 9:26 p.m.11 views

Directory Traversal

Overview datamodel-code-generator is a Datamodel Code Generator Affected versions of this package are vulnerable to Directory Traversal via the schemaLocation attribute in XSD processing. An attacker can access arbitrary files on the local filesystem by supplying a crafted XML Schema file that us...

8.7CVSS6.4AI score0.00361EPSS
SaveExploits0References2
Github Security Blog
Github Security Blog
added 2026/07/28 9:26 p.m.10 views

datamodel-code-generator vulnerable to arbitrary local file read via XSD `schemaLocation` (`xs:include`/`xs:import`) path traversal, with no remote-ref gate

Summary When generating models from an XML Schema --input-file-type xmlschema, datamodel-code-generator resolves , , , and schemaLocation attributes against the source directory and reads the target with no restriction to the input/base directory. An attacker who controls the input XSD can read...

7.5CVSS6AI score0.00361EPSS
SaveExploits0References4Affected Software1
EUVD
EUVD
added 2026/07/28 9:25 p.m.16 views

EUVD-2026-50068

datamodel-code-generator generates Python data models from schema definitions. From 0.59.0 until 0.62.0, XML Schema parsing in src/datamodelcodegenerator/parser/xmlschema.py for --input-file-type xmlschema resolves xs:include, xs:import, xs:redefine, and xs:override schemaLocation values outside...

7.5CVSS5.9AI score0.00361EPSS
SaveExploits0References3
Rows per page
Query Builder