{"id":82318,"date":"2026-07-21T03:47:48","date_gmt":"2026-07-21T00:17:48","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-63728-gitleaks-secret-exfiltration-via-non-hermetic-sprig-template-functions-in-report-template-feature\/"},"modified":"2026-07-21T03:47:48","modified_gmt":"2026-07-21T00:17:48","slug":"cve-2026-63728-gitleaks-secret-exfiltration-via-non-hermetic-sprig-template-functions-in-report-template-feature","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-63728-gitleaks-secret-exfiltration-via-non-hermetic-sprig-template-functions-in-report-template-feature\/","title":{"rendered":"CVE-2026-63728 &#8211; Gitleaks Secret Exfiltration via Non-Hermetic Sprig Template Functions in Report Template Feature"},"content":{"rendered":"<p>CVE ID :CVE-2026-63728<\/p>\n<p>  Published : July 21, 2026, 12:17 a.m. | 1\u00a0hour, 27\u00a0minutes ago<\/p>\n<p>  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.<\/p>\n<p>  Severity: 8.1 | HIGH<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-63728 Published : July 21, 2026, 12:17 a.m. | 1\u00a0hour, 27\u00a0minutes ago 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-82318","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=82318"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82318\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=82318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=82318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=82318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}