Skip to content
Threat Feed
high advisory

Improper Hostname Validation in Gitingest

Gitingest versions 0.3.1 and earlier contain a hostname validation vulnerability allowing attackers to force outbound connections and exfiltrate GitHub personal access tokens.

CVE search metadata

CVE search record: CVE-2026-82289. Severity: high. CVSS: 7.4. KEV: no. Product: Gitingest (<= 0.3.1). Brief: Improper Hostname Validation in Gitingest. Brief link: https://feed.craftedsignal.io/briefs/2026-08-gitingest-cve-2026-82289/

Gitingest versions 0.3.1 and earlier contain a security vulnerability in the _validate_host function. The implementation improperly validates hostnames by only checking for the presence of 'git.', 'gitlab.', or 'github.' prefixes. This flaw allows an attacker to bypass intended restrictions against a known-hosts list, enabling the application to make outbound HTTP requests to attacker-controlled infrastructure. By directing the application to a malicious host, an attacker can capture GitHub personal access tokens (PATs) that are inadvertently transmitted as HTTP basic credentials during the outbound request process. This vulnerability poses a significant risk to organizations using Gitingest to process repository data, as it leads to the compromise of credentials and potential unauthorized access to protected GitHub resources.

Impact

Successful exploitation allows attackers to steal GitHub personal access tokens, potentially leading to unauthorized access, repository cloning, or code manipulation within the victim's GitHub organization. The vulnerability affects all users running Gitingest version 0.3.1 or earlier, with no specific OS constraints.

Recommendation

  • Upgrade Gitingest to a version later than 0.3.1 as soon as a patch is made available by the maintainers.
  • Audit egress traffic logs for unexpected connections originating from servers hosting Gitingest to unauthorized or unknown external domains.
  • Rotate any GitHub personal access tokens that may have been configured within, or accessed by, vulnerable Gitingest instances.
  • Implement egress filtering at the network level to restrict the Gitingest application host to only communicate with legitimate and required GitHub API endpoints.

Immediate actions

Review and restrict outbound network access from Gitingest infrastructure.

IT Operations 24h

Mitigations

Upgrade Gitingest beyond version 0.3.1.

immediate IT Operations

CVE-2026-82289