Skip to main content

Gitleaks

2 CVEs product

Monthly

CVE-2026-63728 Jul 20, 23:32 HIGH PATCH This Week

Sensitive data exfiltration in Gitleaks before 8.30.1 lets an attacker who controls the report template read arbitrary host environment variables through non-hermetic Sprig functions (env, expandenv, getHostByName) and smuggle them out via attacker-triggered DNS lookups. Because Gitleaks runs in CI/CD with broad access to credentials, tokens, and API keys - including the very secrets it just discovered during a scan - a malicious template turns the scanner into an exfiltration channel. A detailed public write-up describing the technique and the fix exists; there is no CISA KEV listing, so this reflects a demonstrated technique rather than confirmed active exploitation.

Information Disclosure Ssti Suse Gitleaks
NVD GitHub
CVSS 4.0
8.1
EPSS
0.1%
CVE-2026-124039 Nov 06, 19:14 MEDIUM This Month

Gitleaks through 8.30.1 writes the file designated by --report-path using os.Create, which applies default permissions (typically 0644 after umask), so any other local user on the same shared host or CI runner can read the scan report. Because the report contains plaintext discovered secrets and their matching source lines whenever --redact is not supplied, a low-privileged local user with filesystem read access to that path can harvest credentials from it. Exploitation is strictly local, requires that a scan was run with an output report and without --redact, and is a non-issue on single-user systems; no public exploit code was identified at time of analysis.

Information Disclosure Red Hat Gitleaks
NVD GitHub
CVSS 4.0
4.8
EPSS
0.1%
EPSS 0% CVSS 8.1
HIGH PATCH This Week

Sensitive data exfiltration in Gitleaks before 8.30.1 lets an attacker who controls the report template read arbitrary host environment variables through non-hermetic Sprig functions (env, expandenv, getHostByName) and smuggle them out via attacker-triggered DNS lookups. Because Gitleaks runs in CI/CD with broad access to credentials, tokens, and API keys - including the very secrets it just discovered during a scan - a malicious template turns the scanner into an exfiltration channel. A detailed public write-up describing the technique and the fix exists; there is no CISA KEV listing, so this reflects a demonstrated technique rather than confirmed active exploitation.

Information Disclosure Ssti Suse +1
NVD GitHub
EPSS 0% CVSS 4.8
MEDIUM This Month

Gitleaks through 8.30.1 writes the file designated by --report-path using os.Create, which applies default permissions (typically 0644 after umask), so any other local user on the same shared host or CI runner can read the scan report. Because the report contains plaintext discovered secrets and their matching source lines whenever --redact is not supplied, a low-privileged local user with filesystem read access to that path can harvest credentials from it. Exploitation is strictly local, requires that a scan was run with an output report and without --redact, and is a non-issue on single-user systems; no public exploit code was identified at time of analysis.

Information Disclosure Red Hat Gitleaks
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy