Skip to content
Heist/ feed
Back to feed
High

Gitingest Prefix-Based Git Host Check Enables Request Forgery and Token Disclosure

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-82289
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 18:36 UTC · Revision 1

Source evidence

Gitingest Prefix-Based Git Host Check Enables Request Forgery and Token Disclosure

core-osv · Original source

Published 28 Aug 2026, 16:19 UTC

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.

osv:CVE-2026-82289
Complete source record
{
  "id": "36e3299f6809f4c7c8ec372c9289b05b8e5bdcfa53a86714f18896c667e60bb5",
  "url": "https://osv.dev/vulnerability/CVE-2026-82289",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Gitingest Prefix-Based Git Host Check Enables Request Forgery and Token Disclosure",
    "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 hostnames to trigger outbound connections to arbitrary hosts and disclose GitHub personal access tokens via HTTP basic credentials.",
    "evidence": "osv:CVE-2026-82289",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-82289",
      "aliases": [
        "CVE-2026-82289"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/coderamp-labs/gitingest",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "45b068bd5e650ac99f99b26f0767c825f8c5ce95"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.3.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.3.1"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.3.1",
            "v0.3.0",
            "v0.2.1",
            "v0.2.0",
            "v0.1.5",
            "v0.1.3-signed",
            "v0.1.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82289.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.280815211Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82289.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-82289",
        "https://www.vulncheck.com/advisories/gitingest-prefix-based-git-host-check-enables-request-forgery-and-token-disclosure",
        "https://github.com/coderamp-labs/gitingest/issues/592",
        "https://github.com/coderamp-labs/gitingest",
        "https://github.com/coderamp-labs/gitingest/blob/4e259a02fe72115bee538271622f1234a81c8e1a/src/gitingest/utils/git_utils.py",
        "https://github.com/coderamp-labs/gitingest/blob/4e259a02fe72115bee538271622f1234a81c8e1a/src/gitingest/utils/query_parser_utils.py"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-918"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82289.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-82289",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505752,
  "published_at": "2026-08-28T16:19:06.587+00:00"
}