GitHub Advisory Database
GHSA-cpfq-66p2-336j
Consul is vulnerable to arbitrary file read when configured with Kubernetes authentication
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/hashicorp/consul | All versions before 1.18.21 (fixed in 1.18.21) |
| Go | github.com/hashicorp/consul | From 1.22.0-rc1 before 1.22.5 (fixed in 1.22.5) |
| Go | github.com/hashicorp/consul | From 1.19.0 before 1.21.11 (fixed in 1.21.11) |