CVE-2026-2808: Consul is vulnerable to arbitrary file read when configured with Kubernetes authentication
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.
Published Mar 12, 2026 · Updated Mar 24, 2026
Affected packages
github.com/hashicorp/consul
- Ecosystem
- Go
- Affected
- < 1.18.21
- Fixed in
- 1.18.21
- Check
go list -m github.com/hashicorp/consul
github.com/hashicorp/consul
- Ecosystem
- Go
- Affected
- >= 1.22.0-rc1, < 1.22.5
- Fixed in
- 1.22.5
- Check
go list -m github.com/hashicorp/consul
github.com/hashicorp/consul
- Ecosystem
- Go
- Affected
- >= 1.19.0, < 1.21.11
- Fixed in
- 1.21.11
- Check
go list -m github.com/hashicorp/consul
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2025-11374
Consul key/value endpoint is vulnerable to denial of service
medium6.5Oct 28, 2025CVE-2025-11375
Consul event endpoint is vulnerable to denial of service
medium6.5Oct 28, 2025CVE-2024-10005
Hashicorp Consul Path Traversal vulnerability
high8.1Oct 31, 2024CVE-2024-10006
Hashicorp Consul Improper Neutralization of HTTP Headers for Scripting Syntax vulnerability
medium8.3Oct 31, 2024CVE-2024-10086
Hashicorp Consul Cross-site Scripting vulnerability
medium6.1Oct 31, 2024CVE-2020-25201
Denial of service in HashiCorp Consul
high7.5Jan 31, 2024
