Skip to content
Heist/ feed
Back to feed
Medium

Consul vulnerable to arbitrary file reads through the vault kubernetes authentication provider

Type: advisorySources: OSV

HashiCorp Consul and Consul Enterprise 1.18.20 up to 1.21.10 and 1.22.4 are vulnerable to arbitrary file read when configured with Kubernetes authentication. This vulnerability, CVE-2026-2808, is fixed in Consul 1.18.21, 1.21.11 and 1.22.5.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-2808
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 02:18 UTC · Revision 1

Source evidence

Consul vulnerable to arbitrary file reads through the vault kubernetes authentication provider

core-osv · Original source

Published 11 Mar 2026, 23:08 UTC

HashiCorp Consul and Consul Enterprise 1.18.20 up to 1.21.10 and 1.22.4 are vulnerable to arbitrary file read when configured with Kubernetes authentication. This vulnerability, CVE-2026-2808, is fixed in Consul 1.18.21, 1.21.11 and 1.22.5.

osv:CVE-2026-2808
Complete source record
{
  "id": "82954429565d25996207e3c5ec154ff40447eb487615be42f91ae7f203fe470b",
  "url": "https://osv.dev/vulnerability/CVE-2026-2808",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Consul vulnerable to arbitrary file reads through the vault kubernetes authentication provider",
    "summary": "HashiCorp Consul and Consul Enterprise 1.18.20 up to 1.21.10 and 1.22.4 are vulnerable to arbitrary file read when configured with Kubernetes authentication. This vulnerability, CVE-2026-2808, is fixed in Consul 1.18.21, 1.21.11 and 1.22.5.",
    "evidence": "osv:CVE-2026-2808",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-2808",
      "aliases": [
        "BIT-consul-2026-2808",
        "CVE-2026-2808",
        "GHSA-cpfq-66p2-336j",
        "GO-2026-4690"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hashicorp/consul",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3a6dbfc46661d857e84e98da67414a0421e6c3bc"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.22.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "sdk/v0.17.2",
            "troubleshoot/v0.8.1",
            "sdk/v0.17.1",
            "proto-public/v0.7.1",
            "envoyextensions/v0.9.1",
            "api/v1.33.1",
            "sdk/v0.17.0",
            "proto-public/v0.7.0",
            "api/v1.33.0-rc2",
            "sdk/v0.17.0-rc1",
            "api/v1.32.1",
            "list",
            "proto-public/v0.1.1",
            "proto-public/v0.1.0",
            "api/v1.10.0",
            "v1.7.0",
            "sdk/v0.4.0",
            "api/v1.4.0",
            "v1.7.0-beta3",
            "v1.7.0-beta2",
            "v1.7.0-beta1",
            "v1.6.1",
            "v1.6.0",
            "api/v1.2.0",
            "sdk/v0.2.0",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.4.4",
            "v1.5.0",
            "api/v1.1.0",
            "sdk/v0.1.1",
            "api/v1.0.1",
            "sdk/v0.1.0",
            "api/v1.0.0",
            "internal/v0.1.0",
            "v1.4.3",
            "v1.4.2",
            "v1.4.1",
            "v1.2.3",
            "v1.1.0",
            "v1.0.7",
            "v0.9.3",
            "v1.4.0",
            "v1.4.0-rc1",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.0.6",
            "v1.0.5",
            "v1.0.4",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1",
            "v1.0.1-rc1",
            "v1.0.0",
            "v1.0.0-beta2",
            "v1.0.0-beta1",
            "v0.9.3-rc2",
            "v0.9.3-rc1",
            "v0.9.2",
            "v0.9.1",
            "v0.9.0",
            "v0.9.0-rc1",
            "v0.8.5",
            "v0.8.4",
            "v0.8.2",
            "v0.8.1",
            "v0.8.0",
            "v0.8.0-rc1",
            "v0.7.4",
            "v0.7.3",
            "v0.7.2",
            "v0.7.2-rc1",
            "v0.7.1",
            "v0.7.0",
            "v0.7.0-rc2",
            "v0.7.0-rc1",
            "v0.6.4",
            "v0.6.4-rc3",
            "v0.6.3",
            "v0.6.1",
            "v0.6.0",
            "v0.6.0-rc2",
            "v0.6.0-rc1",
            "v0.5.2",
            "v0.5.1",
            "v0.5.0",
            "v0.5.0rc1",
            "v0.4.1",
            "v0.4.0",
            "v0.3.1",
            "v0.3.0",
            "v0.2.1",
            "v0.2.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2808.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.951275032Z",
      "provider": "osv",
      "references": [
        "https://discuss.hashicorp.com/t/hcsec-2026-02-consul-vulnerable-to-arbitrary-file-reads-through-the-vault-kubernetes-authentication-provider/77232",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2808.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-2808",
        "https://github.com/hashicorp/consul"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-59"
        ],
        "cna_assigner": "HashiCorp",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.21.11"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "ChangesAt"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2808.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-2808",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521717,
  "published_at": "2026-03-11T23:08:32.414+00:00"
}