GitHub Advisoryadvisory · Go
GHSA-cpfq-66p2-336j Consul is vulnerable to arbitrary file read when configured with Kubernetes authentication
MEDIUM
Official page ↗
- Aliases
- CVE-2026-2808
- Ecosystem
- Go
- Packages
- github.com/hashicorp/consul
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
- Weaknesses
- CWE-59
- Reviewed
- 2026-03-12
Affected packages
• Go github.com/hashicorp/consul: < 1.18.21 → fixed in 1.18.21
• Go github.com/hashicorp/consul: >= 1.22.0-rc1, < 1.22.5 → fixed in 1.22.5
• Go github.com/hashicorp/consul: >= 1.19.0, < 1.21.11 → fixed in 1.21.11
Description
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.
Related
Alias · CVE (1)
- CVE-2026-2808 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… vulnerability
Weakness · CWE (1)
- CWE-59 Improper Link Resolution Before File Access weakness