Gitleaks
Monthly
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.
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.
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.
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.