ConsulGHSA-cpfq-66p2-336j
Consul is vulnerable to arbitrary file read when configured with Kubernetes authentication
Fix: upgrade to 1.18.21 or later (3 fixed versions below)
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| github.com/hashicorp/consul Go | < 1.18.21 | 1.18.21 |
| >= 1.22.0-rc1, < 1.22.5 | 1.22.5 | |
| >= 1.19.0, < 1.21.11 | 1.21.11 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-59
- Also known as
- BIT-consul-2026-2808, CVE-2026-2808, GO-2026-4690