Back to overview

CVE-2026-63728

MEDIUM
6.3
CVSS 3.1
Description
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.

Metadata

CVE ID
CVE-2026-63728
State
PUBLISHED
Assigner
VulnCheck
Reserved
2026-07-17 21:21 UTC
Published
2026-07-20 23:32 UTC
Last updated
2026-07-20 23:32 UTC
Primary CWE
CWE-1336
Improper Neutralization of Special Elements Used in a Templa…
Vendor / Product
gitleaks / gitleaks
Sources
cve.org  ·  NVD

Severity & Metrics

6.3 MEDIUM CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Affected products (1)
VendorProductPlatformVersions
gitleaks gitleaks 0 < 8.30.1
Weakness (CWE)
CWESourceDescription
CWE-1336 cna Improper Neutralization of Special Elements Used in a Template Engine
CVSS scores (2)
ScoreSeverityVersionSourceVector
8.1 HIGH 4.0 cna 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
6.3 MEDIUM 3.1 cna CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Back to overview