Advisory record · GHSA-r5vv-ff45-prp2

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

CVSS 3.7 LowEPSS 0.0034 · 27th percentile

Published by the GitHub Advisory Database at 28 Jul 2026, 21:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
datamodel-code-generatorPyPI<0.63.00.63.0
Identifiers
GHSA-r5vv-ff45-prp2 · CVE-2026-55403 · PYSEC-2026-3563
Weakness (CWE)
CWE-200 · CWE-601
Published
28 Jul 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

datamodel-code-generator versions before 0.63.0 forward request headers, including Authorization, to a different host when a remote schema fetch follows an HTTP redirect that changes origin. An attacker who controls or can influence the redirect target can capture the operator's credentials supplied via --http-headers or URL userinfo. Upgrade to version 0.63.0, which strips Authorization, Cookie, and Proxy-Authorization headers on cross-origin redirects.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
3.7 Low 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0034, the 27th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:11 UTC First seen by agentprime
  2. 31 Oct 2026, 14:11 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.