Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister git.-prefixed attacker-controlled domain
-
DeliverySubmit crafted URL to Gitingest service
-
ExploitBypass _validate_host prefix-only check
-
ExecutionServer issues authenticated HTTP request to attacker host
-
PersistCapture GitHub PAT from basic auth headers
-
ImpactLeverage exfiltrated token for repository access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be able to submit a repository URL to the target Gitingest instance - per the PR:N metric, no prior authentication to Gitingest itself is required, though if the UI:P metric applies, the attacker may need to induce a legitimate user to submit the crafted URL. The attacker must control a publicly reachable server with a DNS hostname that begins with |
| Impact | The CVSS 4.0 score of 8.3 with vector AV:N/AC:L/AT:N/PR:N/UI:P reflects low attack complexity and no authentication requirement, with high confidentiality impact on both the vulnerable system (VC:H, token exfiltration) and subsequent systems (SC:H, SSRF-reachable internal resources). The UI:P metric implies some passive user interaction - possibly that a legitimate user must submit the malicious URL - but if the Gitingest instance is self-service and the attacker can directly submit URLs, UI:N would be more appropriate, increasing exploitability. EPSS data is absent from the available sources, preventing quantitative exploitation probability assessment. No CISA KEV listing and no confirmed public exploit code lower urgency relative to the raw CVSS, suggesting this is primarily a risk to internet-exposed Gitingest deployments that hold configured GitHub PATs rather than a broadly exploited threat. The key risk amplifier is credential scope: a PAT with broad repository access, if disclosed, enables account compromise well beyond the Gitingest instance itself. The CVSS signals and description are consistent with one another - no conflicting data noted. |
| Exploit ScenarioDerived | An attacker registers a domain whose hostname begins with |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 28, 2026
Server-Side Request Forgery in Gitingest through 0.3.1 allows unauthenticated attackers to redirect outbound server connections to arbitrary attacker-controlled hosts by exploiting a prefix-only hostname validation bypass in the _validate_host function. Because Gitingest may carry GitHub personal access tokens as HTTP basic auth credentials on outbound git requests, any host whose name begins with git., gitlab., or github. passes validation and becomes a credential harvesting endpoint. No public exploit code is confirmed at time of analysis and no CISA KEV listing exists, but the CVSS 4.0 score of 8.3 reflects the combination of low attack complexity, unauthenticated access, and high confidentiality impact.
RemediationAI
No vendor-released patch has been confirmed in the available data; the GitHub issue (https://github.com/coderamp-labs/gitingest/issues/592) and the VulnCheck advisory (https://www.vulncheck.com/advisories/gitingest-prefix-based-git-host-check-enables-request-forgery-and-token-disclosure) should be monitored for a fixed release. As an immediate compensating control, restrict outbound network egress from the Gitingest host using firewall or egress filtering rules that allow connections only to the published IP ranges of GitHub, GitLab, and any other explicitly trusted git hosts; this prevents SSRF redirection even when validation is bypassed, but requires maintaining an up-to-date IP allowlist and may break access to self-hosted git instances. Revoke and rotate any GitHub PATs configured in the Gitingest deployment immediately, replacing them with tokens scoped to the minimum required repositories and permissions to limit blast radius if exfiltration has already occurred. If unauthenticated access to the URL submission endpoint can be disabled or restricted to known-good users via authentication middleware, this reduces the attacker population to authenticated sessions only.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Gitingest (CPE: cpe:2.3:a:coderamp-labs:gitingest:*:*:*:*:*:*:*:*) is a developer-facing tool for ingesting Git repository content, commonly used to generate context for LLM or AI workflows. The flaw resides in _validate_host within src/gitingest/utils/query_parser_utils.py (commit 4e259a02fe72115bee538271622f1234a81c8e1a), where the code checks only that the submitted hostname carries a git., gitlab., or github. prefix rather than verifying membership against a legitimate known-hosts allowlist. CWE-918 (Server-Side Request Forgery) describes this class of flaw precisely: the server fetches a remote resource based on a user-supplied URL without adequately constraining the destination. The companion file src/gitingest/utils/git_utils.py is also implicated, suggesting the outbound request - and any embedded credentials - is constructed after the flawed validation passes.
Know when Gitingest gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Attacker directly submits malicious URL with no authentication; scope changes as server connects to external attacker host; only confidentiality impacted via token leakage.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
Gitingest versions through 0.3.1 expose a critical credential harvesting vulnerability that allows unauthenticated attackers to intercept and capture GitHub personal access tokens transmitted by the application. Organizations relying on Gitingest for repository operations face immediate risk of unauthorized source code access and supply chain compromise through malicious code injection or repository manipulation.
Route Gitingest outbound traffic through a web proxy configured to reject HTTP requests to hosts matching the validation bypass pattern (*.git.*, *.gitlab.*, *.github.*); restrict GitHub tokens to organization-specific scopes and enable token audit logging; deploy endpoint detection and response (EDR) to monitor for credential exfiltration from Gitingest processes; isolate Gitingest in a network segment with restricted egress rules limiting connections to known GitHub infrastructure only; consider temporary token rotation to short-lived credentials with minimal lifetime.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
EUVD-2026-67820
GHSA-mvv9-5ggf-37rj
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB