Is github.com/hashicorp/consul 1.21 vulnerable?
Go · 6 releases from 1.21.0 to 1.21.5 · latest github.com/hashicorp/consul is 1.22.7 · checked 18 Nov 2026
Yes: 6 known advisories
Yes. github.com/hashicorp/consul 1.21.5, the last 1.21 release, is affected by 6 known security advisories (3 medium, 3 low), including CVE-2026-2808, CVE-2025-11374, CVE-2025-11375. Upgrade to 1.22.5 or later to fix all of them.
go get github.com/hashicorp/consul@v1.22.5Is your project on an affected github.com/hashicorp/consul?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Advisories affecting github.com/hashicorp/consul 1.21.5
Consul is vulnerable to arbitrary file read when configured with Kubernetes authentication in github.com/hashicorp/consul
- Affected
- <1.22.5
- Fixed in
- 1.22.5
Consul is vulnerable to arbitrary file read when configured with Kubernetes authentication
- Affected
- <1.18.21 · >=1.22.0-rc1 <1.22.5 · >=1.19.0 <1.21.11
- Fixed in
- 1.18.21, 1.21.11, 1.22.5
Consul key/value endpoint is vulnerable to denial of service in github.com/hashicorp/consul
- Affected
- <1.22.0
- Fixed in
- 1.22.0
Consul event endpoint is vulnerable to denial of service in github.com/hashicorp/consul
- Affected
- <1.22.0
- Fixed in
- 1.22.0
Consul key/value endpoint is vulnerable to denial of service
- Affected
- <1.22.0
- Fixed in
- 1.22.0
Consul event endpoint is vulnerable to denial of service
- Affected
- <1.22.0
- Fixed in
- 1.22.0
Every github.com/hashicorp/consul 1.21.x release
Affected: 1.21.0 to 1.21.5. Latest github.com/hashicorp/consul: 1.22.7.
| Version | Known advisories |
|---|---|
| github.com/hashicorp/consul 1.21.5 | CVE-2026-2808, CVE-2026-2808, CVE-2025-11374, CVE-2025-11375, CVE-2025-11374, CVE-2025-11375 |
| github.com/hashicorp/consul 1.21.4 | CVE-2026-2808, CVE-2026-2808, CVE-2025-11374, CVE-2025-11375, CVE-2025-11374, CVE-2025-11375 |
| github.com/hashicorp/consul 1.21.3 | CVE-2026-2808, CVE-2026-2808, CVE-2025-11374, CVE-2025-11375, CVE-2025-11374, CVE-2025-11375 |
| github.com/hashicorp/consul 1.21.2 | CVE-2026-2808, CVE-2026-2808, CVE-2025-11374, CVE-2025-11375, CVE-2025-11374, CVE-2025-11375 |
| github.com/hashicorp/consul 1.21.1 | CVE-2026-2808, CVE-2026-2808, CVE-2025-11374, CVE-2025-11375, CVE-2025-11374, CVE-2025-11375 |
| github.com/hashicorp/consul 1.21.0 | CVE-2026-2808, CVE-2026-2808, CVE-2025-11374, CVE-2025-11375, CVE-2025-11374, CVE-2025-11375 |
Which of your client projects are still on github.com/hashicorp/consul 1.21?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact github.com/hashicorp/consul version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other github.com/hashicorp/consul versions
- github.com/hashicorp/consul 1.22
- github.com/hashicorp/consul 1.20
- github.com/hashicorp/consul 1.19
- github.com/hashicorp/consul 1.18
- github.com/hashicorp/consul 1.17
- github.com/hashicorp/consul 0.9
- github.com/hashicorp/consul 0.8
- github.com/hashicorp/consul 0.7
- github.com/hashicorp/consul 0.6
- github.com/hashicorp/consul 0.5
- github.com/hashicorp/consul 0.4
- All github.com/hashicorp/consul advisories
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Go registry. Refreshed daily.