


Perceptive Security
SOC/SIEM Consultancy

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-h…
Published:
28 augustus 2026 om 00:00:00
Alert date:
28 augustus 2026 om 23:18:32
Source:
nvd.nist.gov
Web Technologies, Identity & Access, Data Breach & Exfiltration
Gitingest versions through 0.3.1 contain a critical vulnerability in the _validate_host function that improperly validates hostnames. The flaw allows any hostname prefixed with 'git.', 'gitlab.', or 'github.' to bypass the known-hosts allowlist check. Attackers can craft malicious URLs pointing to attacker-controlled servers to trigger outbound connections from the Gitingest service. This can result in the disclosure of GitHub personal access tokens transmitted via HTTP basic authentication credentials. The vulnerability is classified as a Server-Side Request Forgery (SSRF) issue combined with credential leakage. Affected code resides in git_utils.py and query_parser_utils.py within the Gitingest repository. A GitHub issue (#592) and a VulnCheck advisory have been published documenting the flaw. Users should update to a patched version or implement strict hostname validation to mitigate the risk.
Technical details
Mitigation steps:
Affected products:
Gitingest 0.3.1 and earlier
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-82289
https://github.com/coderamp-labs/gitingest
https://github.com/coderamp-labs/gitingest/blob/4e259a02fe72115bee538271622f1234a81c8e1a/src/gitingest/utils/git_utils.py
https://github.com/coderamp-labs/gitingest/blob/4e259a02fe72115bee538271622f1234a81c8e1a/src/gitingest/utils/query_parser_utils.py
https://github.com/coderamp-labs/gitingest/issues/592
https://www.vulncheck.com/advisories/gitingest-prefix-based-git-host-check-enables-request-forgery-and-token-disclosure
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
