Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-87993
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 19:33 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 10 Sept 2026, 19:00 UTC

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.

osv:CVE-2026-87993
Complete source record
{
  "id": "0456de13399826d2d3a637782ae765e17d4b3e9620d8fa7e2480219c81ab3268",
  "url": "https://osv.dev/vulnerability/CVE-2026-87993",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Consul-template vulnerable to an information disclosure issue in error handling",
    "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. This vulnerability (CVE-2026-87993) is fixed in consul-template 0.43.0.",
    "evidence": "osv:CVE-2026-87993",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-87993",
      "aliases": [
        "BIT-consul-2026-87993",
        "CVE-2026-87993"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hashicorp/consul-template",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0400fa21081d44bd8aeccf858f093c2fe13d7774"
                },
                {
                  "fixed": "47984bdf50d35f8cb010e65369f96789c1b34957"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0.27.2"
                      },
                      {
                        "fixed": "0.43.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.42.1",
            "v0.42.0",
            "v0.41.4",
            "v0.41.3",
            "v0.41.2",
            "v0.40.0",
            "v0.39.1",
            "v0.39.0",
            "v0.38.1",
            "v0.38.0",
            "v0.37.6",
            "v0.37.5",
            "v0.37.4",
            "v0.37.3",
            "v0.37.2",
            "v0.37.1",
            "v0.37.0",
            "v0.36.0",
            "v0.35.0",
            "v0.34.0",
            "v0.33.0",
            "v0.32.0",
            "v0.31.0",
            "v0.30.0",
            "v0.29.6",
            "v0.29.5",
            "v0.29.4",
            "v0.29.3",
            "v0.29.2",
            "v0.27.2",
            "v0.29.1",
            "v0.29.0",
            "v0.28.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-87993.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.616718795Z",
      "provider": "osv",
      "references": [
        "https://discuss.hashicorp.com/t/hcsec-2026-38-consul-template-vulnerable-to-an-information-disclosure-issue-in-error-handling/77740",
        "https://github.com/hashicorp/consul-template/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87993.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-87993"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-532"
        ],
        "cna_assigner": "HashiCorp",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87993.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-87993",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 506215,
  "published_at": "2026-09-10T19:00:08.728+00:00"
}