CVE-2026-87993
HighCVSS 7.7Exploitation Probability (EPSS)
Low risk20th percentile - higher than 20% of all known CVEs
Summary
The consul-template library is vulnerable to an information disclosure issue in its error handling path that may allow Vault secret values to appear in template error messages, log output, and downstream surfaces such as Nomad task events.
Risk Assessment
Confidential Vault secret values may leak into logs and other surfaces, potentially leading to unauthorized access to protected resources.
Recommendation
Upgrade consul-template to version 0.43.0 or newer.
Other vulnerabilities in consul-template
See all- CVE-2026-14361Medium
The consul-template library before version 0.42.1 is vulnerable to a path redirection issue in the writeToFile template helper, which may allow template output to be written outside the intended directory or to overwrite an existing file. This vulnerability is fixed in consul-template 0.42.1.
- CVE-2026-5061Medium
The consul-template library before version 0.42.0 is vulnerable to a sandbox path bypass in the file template helper, potentially allowing reading of a file outside the sandbox. This vulnerability is fixed in consul-template 0.42.0.
Original NVD description (English source)
The consul-template library is vulnerable to an information disclosure issue in its error handling path that may allow Vault secret values to appear in template error messages, log output, and downstream surfaces such as Nomad task events. This vulnerability (CVE-2026-87993) is fixed in consul-template 0.43.0.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

