---
id: CVE-2026-82289
title: >-
  Gitingest through 0.3.1 fails to properly validate hostnames in
  _validate_host, accepting any host with a git., gitlab., or github
summary: >-
  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 host…
severity: high
cvss: 7.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N'
cwe:
  - CWE-918
published: '2026-08-28'
updated: '2026-09-23'
sourceUpdated: '2026-09-23T17:17:43.807'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-82289'
references:
  - url: 'https://github.com/coderamp-labs/gitingest'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/coderamp-labs/gitingest/blob/4e259a02fe72115bee538271622f1234a81c8e1a/src/gitingest/utils/git_utils.py
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/coderamp-labs/gitingest/blob/4e259a02fe72115bee538271622f1234a81c8e1a/src/gitingest/utils/query_parser_utils.py
    label: disclosure@vulncheck.com
  - url: 'https://github.com/coderamp-labs/gitingest/issues/592'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/gitingest-prefix-based-git-host-check-enables-request-forgery-and-token-disclosure
    label: disclosure@vulncheck.com
  - url: 'https://github.com/coderamp-labs/gitingest/issues/592'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00313
epssPercentile: 0.21563
ingestedAt: '2026-09-23T17:28:14.817Z'
vendor: coderamp-labs
product: gitingest
affected:
  - gitingest <= 0.3.1
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-08-28T20:20:43.658886Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
