top of page
perceptive_background_267k.jpg

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

Click to open the original link from this advisory

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:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Deze website toont informatie afkomstig van externe bronnen; Perceptive aanvaardt geen verantwoordelijkheid voor de juistheid, volledigheid of actualiteit van deze informatie.

bottom of page