CVE-2026-82289
SSRF in Gitingest leaks GitHub personal access tokens via spoofable hostnames
Gitingest through version 0.3.1 contains a server-side request forgery flaw (CWE-918) in its _validate_host function, which only checks that a submitted URL's hostname begins with the prefixes 'git.', 'gitlab.', or 'github.' instead of verifying membership in a known-hosts list. An attacker can submit a URL with an attacker-controlled hostname such as a lookalike domain bearing one of those prefixes, causing Gitingest to make outbound connections to an arbitrary host. Because Gitingest sends GitHub personal access tokens as HTTP basic credentials when fetching from repositories, those tokens can be disclosed to the attacker-controlled server and then reused against the victim's GitHub account. Anyone running an affected version of Gitingest, or submitting URLs to a service built on it, is affected. There is currently no known public proof-of-concept, no entry in CISA's Known Exploited Vulnerabilities catalog, and a low modeled exploitation probability (EPSS 0.2%), so exploitation has not been observed in the wild.
What to do: Upgrade Gitingest to a release newer than 0.3.1 as soon as a patched version is published, and until then restrict outbound network access from Gitingest deployments to approved hosts (github.com/gitlab.com domains). Operators should check logs for connections to unexpected hostnames starting with git./gitlab./github. that were submitted by untrusted users, and rotate any GitHub personal access tokens configured in Gitingest as a precaution.
| Gitingest (open-source project) Gitingest | through 0.3.1 (all versions up to and including 0.3.1) |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
- Weakness
- CWE-918
- Vector
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
In the news0 stories
No ingested article mentions this CVE yet.