CVE-2026-63728

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.
Configurations

No configuration.

History

22 Jul 2026, 14:17

Type Values Removed Values Added
References () https://fatihhcelik.github.io/posts/gitleaks-abusing-sprig-for-exfiltration/#the-fix - () https://fatihhcelik.github.io/posts/gitleaks-abusing-sprig-for-exfiltration/#the-fix -

21 Jul 2026, 00:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-21 00:17

Updated : 2026-07-22 16:27


NVD link : CVE-2026-63728

Mitre link : CVE-2026-63728

CVE.ORG link : CVE-2026-63728


JSON object : View

Products Affected

No product.

CWE
CWE-1336

Improper Neutralization of Special Elements Used in a Template Engine