CVE-2026-2808
MEDIUM 6.8CVSS 3.1Consul 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
- 12 Mar 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security@hashicorp.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-59
- Also known as
- BIT-consul-2026-2808GHSA-cpfq-66p2-336jGO-2026-4690
- Sources
- NVDJSONOSV GHSA-cpfq-66p2-336jJSONOSV GO-2026-4690JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@hashicorp.com (Secondary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/hashicorp/consul | < 1.18.21 | 1.18.21 |
| OSV | Go | github.com/hashicorp/consul | >= 1.22.0-rc1, < 1.22.5 | 1.22.5 |
| OSV | Go | github.com/hashicorp/consul | >= 1.19.0, < 1.21.11 | 1.21.11 |
| OSV | Go | github.com/hashicorp/consul | < 1.22.5 | 1.22.5 |
References
- https://discuss.hashicorp.com/t/hcsec-2026-02-consul-vulnerable-to-arbitrary-file-reads-through-the-vault-kubernetes-authentication-provider/77232 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-2808 · ADVISORY
- https://github.com/hashicorp/consul · PACKAGE
- https://pkg.go.dev/vuln/GO-2026-4690 · WEB
- https://github.com/advisories/GHSA-cpfq-66p2-336j · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 12 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Mar 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Mar 2026)