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.

Upgrade with:go get github.com/hashicorp/consul@v1.22.5

Is your project on an affected github.com/hashicorp/consul?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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

  • LowCVE-2026-2808GO-2026-469016 Mar 2026

    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
  • MediumCVE-2026-2808GHSA-cpfq-66p2-336j12 Mar 2026

    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
  • LowCVE-2025-11374GO-2025-40815 Nov 2025

    Consul key/value endpoint is vulnerable to denial of service in github.com/hashicorp/consul

    Affected
    <1.22.0
    Fixed in
    1.22.0
  • LowCVE-2025-11375GO-2025-40825 Nov 2025

    Consul event endpoint is vulnerable to denial of service in github.com/hashicorp/consul

    Affected
    <1.22.0
    Fixed in
    1.22.0
  • MediumCVE-2025-11374GHSA-7g3r-8c6v-hfmr28 Oct 2025

    Consul key/value endpoint is vulnerable to denial of service

    Affected
    <1.22.0
    Fixed in
    1.22.0
  • MediumCVE-2025-11375GHSA-qh7p-pfq3-677h28 Oct 2025

    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.

VersionKnown advisories
github.com/hashicorp/consul 1.21.5CVE-2026-2808, CVE-2026-2808, CVE-2025-11374, CVE-2025-11375, CVE-2025-11374, CVE-2025-11375
github.com/hashicorp/consul 1.21.4CVE-2026-2808, CVE-2026-2808, CVE-2025-11374, CVE-2025-11375, CVE-2025-11374, CVE-2025-11375
github.com/hashicorp/consul 1.21.3CVE-2026-2808, CVE-2026-2808, CVE-2025-11374, CVE-2025-11375, CVE-2025-11374, CVE-2025-11375
github.com/hashicorp/consul 1.21.2CVE-2026-2808, CVE-2026-2808, CVE-2025-11374, CVE-2025-11375, CVE-2025-11374, CVE-2025-11375
github.com/hashicorp/consul 1.21.1CVE-2026-2808, CVE-2026-2808, CVE-2025-11374, CVE-2025-11375, CVE-2025-11374, CVE-2025-11375
github.com/hashicorp/consul 1.21.0CVE-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

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.