NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

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

mediumCVSS 3.1 6.8GHSA-cpfq-66p2-336j

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 entries