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…
CVSS 4.0HIGH 8.1·Local·No auth·User interaction·EPSS 0.00206·Published 2026-07-20·Fixed in 8.30.1CWE-1336
Gitleaks through 8.30.1 contains an incorrect permission assignment vulnerability that allows local users to read scan reports because cmd/root.go creates the --report-path file with os.Create and default permissions.