CVE-2026-55403
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.
How to fix
- datamodel-code-generator0.63.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| datamodel-code-generatorPyPI | v < 0.63.0 | 0.63.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.