CVE-2026-87993

Consul-template vulnerable to an information disclosure issue in error handling

Published Sep 10, 2026 CVSS 3.1 · 7.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The consul-template library contains an information disclosure flaw in its error handling path that can cause Vault secret values to be included in template error messages, log output, and downstream surfaces such as Nomad task events. This weakness, identified as CWE‑532, results in a confidentiality breach wherein sensitive secrets intended for secure storage may be inadvertently exposed to unintended recipients.

Affected Systems

The vulnerability affects the HashiCorp Consul‑Template tool. No specific affected versions are listed, but the issue is resolved in consul‑template version 0.43.0. Administrators should verify the version of consul‑template in use against this fixed release.

Risk and Exploitability

The CVSS score of 7.7 indicates a high severity impact. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves triggering error conditions during template processing, which would expose secret values via log files or event streams. No public exploitation is reported, but the potential for secret leakage warrants proactive remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade consul‑template to version 0.43.0 or later to eliminate the flaw
  • Configure error logging to minimize exposure of secret data, e.g., disable verbose error details in the consul‑template configuration
  • Review and sanitize existing logs for accidental disclosure of Vault secrets

Generated by OpenCVE AI on September 10, 2026 at 22:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Hashicorp
Hashicorp tooling
Vendors & Products Hashicorp
Hashicorp tooling
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Consul-template vulnerable to an information disclosure issue in error handling
Weaknesses CWE-532
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'}

Weaknesses
  • CWE-532

    Insertion of Sensitive Information into Log File

Sources

Status
PUBLISHED
Assigner
HashiCorp
Published
Updated
Sep 10, 2026, 7:21 PM
Reserved
Sep 9, 2026, 7:16 PM
Status
Awaiting Analysis
Published
Sep 10, 2026, 7:17 PM
Modified
Sep 10, 2026, 8:17 PM