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

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 19% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-28T21:31:49.172Z
- Modified: 2026-10-23T23:10:00.157Z
- Also known as: GHSA-r5vv-ff45-prp2, PYSEC-2026-3563
- Weaknesses: CWE-200, CWE-601
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- koxudaxi datamodel-code-generator: < 0.63.0
- datamodel-code-generator (PyPI): before 0.63.0

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-r5vv-ff45-prp2> (exploit, web)
- <https://github.com/koxudaxi/datamodel-code-generator/commit/a585c037c8307b7aae815de193b7fe1c4c44994b> (web)
- <https://github.com/koxudaxi/datamodel-code-generator/releases/tag/0.63.0> (web)
- <https://github.com/koxudaxi/datamodel-code-generator> (package)
- <https://pypi.org/project/datamodel-code-generator> (package)
- <https://github.com/advisories/GHSA-r5vv-ff45-prp2> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55403> (advisory)

## Sources

- CVE List: [CVE-2026-55403](https://www.cve.org/CVERecord?id=CVE-2026-55403), CVE Terms of Use, modified 2026-07-29
- GitHub Advisory Database: [GHSA-r5vv-ff45-prp2](https://github.com/advisories/GHSA-r5vv-ff45-prp2), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-55403](https://nvd.nist.gov/vuln/detail/CVE-2026-55403), Public domain, modified 2026-10-23
- PyPA Advisory Database: [PYSEC-2026-3563](https://osv.dev/vulnerability/PYSEC-2026-3563), CC-BY-4.0, modified 2026-08-04

---

Page: https://cve.day/CVE-2026-55403 · Whole record: https://cve.day/CVE-2026-55403.json · Rebuilt by cve.day 2026-11-25T22:59:30.391Z
