{"schema_version":"1.7.5","id":"GHSA-cpfq-66p2-336j","published":"2026-03-12T00:31:17Z","modified":"2026-03-24T21:17:32.117903Z","aliases":["BIT-consul-2026-2808","CVE-2026-2808","GO-2026-4690"],"summary":"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":[{"package":{"name":"github.com/hashicorp/consul","ecosystem":"Go","purl":"pkg:golang/github.com/hashicorp/consul"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.18.21"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-cpfq-66p2-336j/GHSA-cpfq-66p2-336j.json"}},{"package":{"name":"github.com/hashicorp/consul","ecosystem":"Go","purl":"pkg:golang/github.com/hashicorp/consul"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.22.0-rc1"},{"fixed":"1.22.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-cpfq-66p2-336j/GHSA-cpfq-66p2-336j.json"}},{"package":{"name":"github.com/hashicorp/consul","ecosystem":"Go","purl":"pkg:golang/github.com/hashicorp/consul"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.19.0"},{"fixed":"1.21.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-cpfq-66p2-336j/GHSA-cpfq-66p2-336j.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-2808"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2026-02-consul-vulnerable-to-arbitrary-file-reads-through-the-vault-kubernetes-authentication-provider/77232"},{"type":"PACKAGE","url":"https://github.com/hashicorp/consul"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2026-4690"}],"database_specific":{"cwe_ids":["CWE-59"],"github_reviewed":true,"github_reviewed_at":"2026-03-12T17:34:04Z","nvd_published_at":"2026-03-12T00:16:11Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N"}]}