Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/hashicorp/consul
  4. ›
  5. CVE-2026-2808

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

March 12, 2026 (updated March 24, 2026)

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

  • discuss.hashicorp.com/t/hcsec-2026-02-consul-vulnerable-to-arbitrary-file-reads-through-the-vault-kubernetes-authentication-provider/77232
  • github.com/advisories/GHSA-cpfq-66p2-336j
  • github.com/hashicorp/consul
  • nvd.nist.gov/vuln/detail/CVE-2026-2808
  • pkg.go.dev/vuln/GO-2026-4690

Code Behaviors & Features

Detect and mitigate CVE-2026-2808 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.18.21, all versions starting from 1.19.0 before 1.21.11, all versions starting from 1.22.0-rc1 before 1.22.5

Fixed versions

  • 1.18.21
  • 1.22.5
  • 1.21.11

Solution

Upgrade to versions 1.18.21, 1.21.11, 1.22.5 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

go/github.com/hashicorp/consul/CVE-2026-2808.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 25 Mar 2026 00:17:18 +0000.