{"answers":{"affected":"3 open source packages ship an affected version, including datamodel-code-generator.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55403 exists.","fix":"Upgrade datamodel-code-generator to 0.63.0 or later.","what":"CVE-2026-55403 is a low-severity vulnerability in koxudaxi datamodel-code-generator, published on 28 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-55403 and fix it if it is affected.\n\nWhat it is: CVE-2026-55403 is a low-severity vulnerability in koxudaxi datamodel-code-generator, published on 28 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55403 exists.\n\nAffected packages and fixed versions:\n- datamodel-code-generator (PyPI): affected all versions; fixed in 0.63.0\n- datamodel-code-generator (PyPI): affected all versions; fixed in 0.63.0\n- datamodel-code-generator (PyPI): affected all versions; fixed in 0.63.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-55403/ (Markdown: https://insights.sbomify.com/CVE-2026-55403/index.md)","id":"CVE-2026-55403","markdown":"https://insights.sbomify.com/CVE-2026-55403/index.md","name":"CVE-2026-55403","record":{"aliases":["GHSA-r5vv-ff45-prp2","MINI-mxch-684f-v5w9","PYSEC-2026-3563"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Python code generator","requires_auth":"none","summary":"Attackers can steal sensitive authentication headers when the tool fetches remote schemas via cross-origin redirects.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":3.7,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"datamodel-code-generator: Authorization / request headers leaked to cross-origin redirect target when fetching remote schemas","id":"CVE-2026-55403","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"yt-dlp: Downstream command injection via improper sanitization of yt-dlp --write-link output","id":"CVE-2026-55404"},"packages":[{"ecosystem":"PyPI","fixed":["0.63.0"],"introduced":["0"],"last_affected":[],"package":"datamodel-code-generator","purl":null,"source":"GHSA-r5vv-ff45-prp2"},{"ecosystem":"PyPI","fixed":["0.63.0"],"introduced":["0"],"last_affected":[],"package":"datamodel-code-generator","purl":"pkg:pypi/datamodel-code-generator","source":"GHSA-r5vv-ff45-prp2"},{"ecosystem":"PyPI","fixed":["0.63.0"],"introduced":["0"],"last_affected":[],"package":"datamodel-code-generator","purl":"pkg:pypi/datamodel-code-generator","source":"PYSEC-2026-3563"}],"prev":{"headline":"Denial of service in Secure Access","id":"CVE-2026-55402"},"products":["datamodel-code-generator"],"published":"2026-07-28","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-29","vendors":["koxudaxi"]},"summary":"Attackers can steal sensitive authentication headers when the tool fetches remote schemas via cross-origin redirects.","url":"https://insights.sbomify.com/CVE-2026-55403/"}