# CVE-2026-2808: Consul is vulnerable to arbitrary file read when configured with Kubernetes authentication

Source: https://junglewise.ai/threats/cve-2026-2808-consul-is-vulnerable-to-arbitrary-file-read-when-configured-with  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-03-16  
License: CC BY 4.0 with a link back

CVE-2026-2808 · Severity: low · CVSS 3.1 · Published 2026-03-16

Consul is vulnerable to arbitrary file read when configured with Kubernetes authentication in github.com/hashicorp/consul

Technologies: [github.com/hashicorp/consul (Go)](https://junglewise.ai/threats/technologies/github-com-hashicorp-consul). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2026-2808 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-2808 being exploited in the wild.

**How severe is CVE-2026-2808?** Low severity, with a CVSS score of 3.1, published 16 March 2026.

**Which products and versions are affected?** github.com/hashicorp/consul (Go) SEMVER:introduced=0,fixed=1.18.21, SEMVER:introduced=0,fixed=1.22.5.

**Is there a fix for CVE-2026-2808?** Yes. github.com/hashicorp/consul (Go): upgrade to 1.18.21, 1.22.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-2808?** Check whether you run github.com/hashicorp/consul (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/hashicorp/consul (Go): upgrade to 1.18.21, 1.22.5 or later

  ```sh
  go get github.com/hashicorp/consul@v1.22.5
  ```


## Affected products

- github.com/hashicorp/consul (Go) SEMVER:introduced=0,fixed=1.18.21, SEMVER:introduced=0,fixed=1.22.5

## Identifiers

- CVE-2026-2808
- GHSA-cpfq-66p2-336j
- GO-2026-4690

## Related threats

- [GO-2025-4082 - Consul event endpoint is vulnerable to denial of service in github.com/hashicorp/consul](https://junglewise.ai/threats/cve-2025-11375-consul-event-endpoint-is-vulnerable-to-denial-of-service)
- [GO-2025-4081 - Consul key/value endpoint is vulnerable to denial of service in github.com/hashicorp/consul](https://junglewise.ai/threats/cve-2025-11374-consul-key-value-endpoint-is-vulnerable-to-denial-of-service)
- [GO-2024-3242 - Hashicorp Consul Cross-site Scripting vulnerability in github.com/hashicorp/consul](https://junglewise.ai/threats/cve-2024-10086-hashicorp-consul-cross-site-scripting-vulnerability)
- [GO-2024-3243 - Hashicorp Consul Path Traversal vulnerability in github.com/hashicorp/consul](https://junglewise.ai/threats/cve-2024-10005-hashicorp-consul-path-traversal-vulnerability)
- [Hashicorp Consul Improper Neutralization of HTTP Headers for Scripting Syntax vulnerability](https://junglewise.ai/threats/cve-2024-10006-hashicorp-consul-improper-neutralization-of-http-headers-for)
