PT-2026-61746 · Gitleaks · Gitleaks

·

CVE-2026-63728

·

Published

2026-07-20

·

Updated

2026-07-21

CVSS v3.1

6.3

Medium

VectorAV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A: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.

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-63728

Affected Products

Gitleaks