Bug 2503102 (CVE-2026-63728) - CVE-2026-63728 gitleaks: Gitleaks: Sensitive data exfiltration via template injection
Summary: CVE-2026-63728 gitleaks: Gitleaks: Sensitive data exfiltration via template i...
Keywords:
Status: NEW
Alias: CVE-2026-63728
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2503725
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-21 00:02 UTC by OSIDB Bzimport
Modified: 2026-07-21 16:50 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-21 00:02:26 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.