PT-2026-61746
CVE-2026-63728
·
Published
2026-07-20
·
Updated
2026-07-22
Description by
CVSS 4.0
8.1
HighMetricsAV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
Gitleaks versions prior to 8.30.1
Description
A template injection issue exists where attackers who can supply or influence report templates can read arbitrary environment variables and exfiltrate sensitive data. This is achieved by leveraging non-hermetic Sprig template functions, which are functions that can access or modify the external environment. Specifically, attackers can use the
env(), expandenv(), and getHostByName() functions to extract credentials, tokens, and API keys from the host process and exfiltrate them via DNS queries, including secrets identified during the scan.Recommendations
Update Gitleaks to version 8.30.1 or later.
Found an issue in the description? Have something to add? Feel free to write us 👾