Description
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.
Published: 2026-08-28
Score: 8.3 High
EPSS: < 1% Very Low
KEV: No
Impact: Token Disclosure
Action: Patch Now
AI Analysis

Impact

gitingest up to version 0.3.1 accepts any hostname that begins with git., gitlab., or github. as valid, regardless of the configured known‑hosts list. This flaw allows an attacker to submit a URL that points to an arbitrary host to the _validate_host routine, resulting in a server‑side request forgery that can be used to reach external servers and expose HTTP basic credentials such as GitHub personal access tokens. The weakness is a server‑side request forgery (CWE‑918) and leads to confidentiality loss of stored tokens and potential misuse of the service’s outbound network.

Affected Systems

Coderamp‑labs gitingest, version 0.3.1 and earlier. The vulnerability resides in the _validate_host logic within the Git integration utilities of the open‑source repository hosted on GitHub.

Risk and Exploitability

The flaw carries a CVSS score of 8.3, classifying it as high severity. EPSS data is unavailable and the issue is not listed in the CISA KEV catalog. Attackers may still exploit it by crafting malicious URLs that are processed by _validate_host, potentially triggering outbound connections to arbitrary hosts and leaking stored tokens. The description does not specify the exact API or interface that would be used; it is inferred that any entry point accepting URLs could be abused, but this is not explicitly stated. Successful exploitation would provide the attacker with confidential access credentials and allow the compromised server to act as a proxy to internal or external resources.

Generated by OpenCVE AI on August 28, 2026 at 22:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade gitingest to the latest release (v0.4.0 or later) where host validation is fixed.
  • If upgrading is not an option, modify the _validate_host function so that it rejects any hostname with a git., gitlab., or github. prefix unless the host is explicitly listed in the configured whitelist.
  • Implement input filtering on user‑supplied URLs to ensure the target hostname matches a permitted Git host and does not contain any untrusted prefixes.

Generated by OpenCVE AI on August 28, 2026 at 22:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
First Time appeared Coderamp-labs
Coderamp-labs gitingest
Vendors & Products Coderamp-labs
Coderamp-labs gitingest

Fri, 28 Aug 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 28 Aug 2026 19:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Gitingest Prefix-Based Git Host Check Enables Request Forgery and Token Disclosure
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.3, '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'}


Subscriptions

Coderamp-labs Gitingest
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-28T20:21:01.003Z

Reserved: 2026-08-28T11:12:53.742Z

Link: CVE-2026-82289

cve-icon Vulnrichment

Updated: 2026-08-28T20:20:55.416Z

cve-icon NVD

Status : Received

Published: 2026-08-28T20:20:20.537

Modified: 2026-08-28T22:16:56.907

Link: CVE-2026-82289

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T11:20:24Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)