Security mailing lists by PureSourceCode

CVE-2026-55403

LOW 3.7CVSS 3.1

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/datamodel_code_generator/http.py get_body reuses Authorization, Cookie, and Proxy-Authorization headers when following cross-origin redirects while fetching remote schemas, allowing credentials scoped to one schema host to be leaked to another redirect target. This issue is fixed in version 0.63.0.

Published
28 Jul 2026
Last modified
23 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-200CWE-601
Also known as
GHSA-r5vv-ff45-prp2PYSEC-2026-3563
Sources
NVDJSONOSV GHSA-r5vv-ff45-prp2JSONOSV PYSEC-2026-3563JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
OSV PyPA CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI datamodel-code-generator < 0.63.0 0.63.0

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 28 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Aug 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 28 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.