← Back to CVE search

CVE-2026-63728

Gitleaks

Description

Gitleaks prior to 8.30.1 contains a template injection vulnerability that allows attackers who can supply or influence report templates to read arbitrary environment variables and exfiltrate sensitive data by leveraging non-hermetic Sprig template functions. Attackers can craft malicious report templates using the env, expandenv, and getHostByName functions to extract credentials, tokens, and API keys from the host process and exfiltrate them through DNS queries, including secrets discovered during the scan itself.

CVSS 6.3EPSS 0.145%Risk 0.64
View source
Published
2026-07-21 00:17:48
Affected versions
<8.30.1
Type
Critical software
Last modified
2026-07-22 16:27:18
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N