Is github.com/hashicorp/consul 1.22 vulnerable?

Go · 8 releases from 1.22.0 to 1.22.7 · latest github.com/hashicorp/consul is 1.22.7 · checked 18 Nov 2026

No known advisories in the last release

github.com/hashicorp/consul 1.22.7, the last 1.22 release, has no known advisories. 2 advisories affect earlier 1.22.x releases, so update to 1.22.7.

Update within 1.22:go get github.com/hashicorp/consul@v1.22.7

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

Fixed within 1.22.x, affecting earlier releases

  • 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

Every github.com/hashicorp/consul 1.22.x release

Affected: 1.22.0 to 1.22.4. 1.22.5 and later are not affected.

VersionKnown advisories
github.com/hashicorp/consul 1.22.7None
github.com/hashicorp/consul 1.22.6None
github.com/hashicorp/consul 1.22.5None
github.com/hashicorp/consul 1.22.4CVE-2026-2808, CVE-2026-2808
github.com/hashicorp/consul 1.22.3CVE-2026-2808, CVE-2026-2808
github.com/hashicorp/consul 1.22.2CVE-2026-2808, CVE-2026-2808
github.com/hashicorp/consul 1.22.1CVE-2026-2808, CVE-2026-2808
github.com/hashicorp/consul 1.22.0CVE-2026-2808, CVE-2026-2808

Which of your client projects are still on github.com/hashicorp/consul 1.22?

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.