{"id":"CVE-2026-82289","summary":"Gitingest Prefix-Based Git Host Check Enables Request Forgery and Token Disclosure","details":"Gitingest through 0.3.1 fails to properly validate hostnames in _validate_host, accepting any host with a git., gitlab., or github. prefix regardless of known-hosts list membership. Attackers can submit URLs with attacker-controlled hostnames to trigger outbound connections to arbitrary hosts and disclose GitHub personal access tokens via HTTP basic credentials.","modified":"2026-08-30T03:48:23.444311283Z","published":"2026-08-28T16:19:06.587Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82289.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-918"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82289.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82289"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/gitingest-prefix-based-git-host-check-enables-request-forgery-and-token-disclosure"},{"type":"REPORT","url":"https://github.com/coderamp-labs/gitingest/issues/592"},{"type":"PACKAGE","url":"https://github.com/coderamp-labs/gitingest"},{"type":"ARTICLE","url":"https://github.com/coderamp-labs/gitingest/blob/4e259a02fe72115bee538271622f1234a81c8e1a/src/gitingest/utils/git_utils.py"},{"type":"ARTICLE","url":"https://github.com/coderamp-labs/gitingest/blob/4e259a02fe72115bee538271622f1234a81c8e1a/src/gitingest/utils/query_parser_utils.py"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/coderamp-labs/gitingest","events":[{"introduced":"0"},{"fixed":"45b068bd5e650ac99f99b26f0767c825f8c5ce95"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"0.3.1"},{"fixed":"0.3.1"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["v0.3.0","v0.2.1","v0.2.0","v0.1.5","v0.1.3-signed","v0.1.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82289.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N"}]}