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.
Exploitability Profile
Triage Priority
CVSS v3.1
Source: Vulncheck
None Observed
No active abuse flagged
Not Observed
No public PoC links extracted
Confirmed
0 patch mentions · 2 advisories
Stable
Peak 2 on Jul 21, 2026
Operational SSVC remediation guidance paired with multi-source scoring and CWE mappings.
Recommended SOC / VM Action
Monitor mention velocity for PoC drops, exploit tooling, or active exploitation inflection.

2mentions
Across 1 tracked day
| Authority | Version | Score | Vector String |
|---|---|---|---|
CNAVulncheck | v3.1 | 6.3MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |
CNAVulncheck | v4.0 | 8.1HIGH | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
2 total mentions across 1 observed day · Peak 2 on Jul 21, 2026
Deduplicated GitHub PoCs, vendor advisories, NVD references, and researcher links.