ADVISORIES

GitHub Advisory Database

GHSA-cpfq-66p2-336j

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 packages

EcosystemPackageAffected versions
Gogithub.com/hashicorp/consul
All versions before 1.18.21 (fixed in 1.18.21)
Gogithub.com/hashicorp/consul
From 1.22.0-rc1 before 1.22.5 (fixed in 1.22.5)
Gogithub.com/hashicorp/consul
From 1.19.0 before 1.21.11 (fixed in 1.21.11)

References