CVE-2026-2808

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

Published Mar 11, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

HashiCorp Consul and Consul Enterprise are affected by a Path Traversal vulnerability (CWE‑59) in the Vault Kubernetes authentication provider. The flaw allows an authenticated attacker to craft requests that result in reading arbitrary files from the host filesystem, potentially exposing sensitive configuration data, credentials, or other confidential information. This vulnerability directly compromises confidentiality and could be leveraged as a foothold for further exploitation.

Affected Systems

Affected are HashiCorp Consul and Consul Enterprise versions 1.18.20 through 1.21.10 and 1.22.4. Any deployment using these versions with Kubernetes authentication enabled is vulnerable. The issue has been fixed in Consul releases 1.18.21, 1.21.11, and 1.22.5 and later.

Risk and Exploitability

The vulnerability has a CVSS v3.1 score of 6.8 (Medium) and an EPSS score below 1 %, indicating a low probability of widespread exploitation. It does not appear in the CISA KEV catalog. Based on the description, the likely attack vector requires access to the Vault Kubernetes authentication interface; an attacker must be able to send specially crafted requests that bypass proper path validation to read unintended files.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade HashiCorp Consul to version 1.18.21, 1.21.11, 1.22.5, or later
  • Confirm that all Consul instances are fully patched and no older versions remain in the environment
  • Review and restrict access to the Vault Kubernetes authentication API to trusted administrators only
  • Test that file read functionality is no longer exposed after upgrade

Generated by OpenCVE AI on March 17, 2026 at 15:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-cpfq-66p2-336j Consul is vulnerable to arbitrary file read when configured with Kubernetes authentication
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Hashicorp
Hashicorp consul
Hashicorp consul Enterprise
Vendors & Products Hashicorp
Hashicorp consul
Hashicorp consul Enterprise
Type Values Removed Values Added
Description 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.
Title Consul vulnerable to arbitrary file reads through the vault kubernetes authentication provider
Weaknesses CWE-59
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
HashiCorp
Published
Updated
Apr 17, 2026, 5:57 PM
Reserved
Feb 19, 2026, 3:17 PM
Status
Awaiting Analysis
Published
Mar 12, 2026, 12:16 AM
Modified
Jun 17, 2026, 10:31 AM
Severity
Moderate
Public date
Mar 11, 2026, 11:08 PM