Is github.com/hashicorp/consul 1.20 vulnerable?

Go · 7 releases from 1.20.0 to 1.20.6 · latest github.com/hashicorp/consul is 1.22.7 · checked 18 Nov 2026

Yes: 6 known advisories

Yes. github.com/hashicorp/consul 1.20.6, the last 1.20 release, is affected by 6 known security advisories (3 medium, 3 low), including CVE-2026-2808, CVE-2025-11374, CVE-2025-11375. 4 more affect earlier 1.20.x releases. 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.20.6

  • 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

Fixed within 1.20.x, affecting earlier releases

  • LowCVE-2024-10006GO-2024-32414 Nov 2024

    Hashicorp Consul Improper Neutralization of HTTP Headers for Scripting Syntax vulnerability in github.com/hashicorp/consul

    Affected
    >=1.9.0 <1.20.1
    Fixed in
    1.20.1
  • LowCVE-2024-10005GO-2024-32434 Nov 2024

    Hashicorp Consul Path Traversal vulnerability in github.com/hashicorp/consul

    Affected
    >=1.9.0 <1.20.1
    Fixed in
    1.20.1
  • HighCVE-2024-10005GHSA-chgm-7r52-whjj31 Oct 2024

    Hashicorp Consul Path Traversal vulnerability

    Affected
    >=1.9.0 <1.20.1
    Fixed in
    1.20.1
  • MediumCVE-2024-10006GHSA-5c4w-8hhh-3c3h31 Oct 2024

    Hashicorp Consul Improper Neutralization of HTTP Headers for Scripting Syntax vulnerability

    Affected
    >=1.9.0 <1.20.1
    Fixed in
    1.20.1

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

Affected: 1.20.0 to 1.20.6. Latest github.com/hashicorp/consul: 1.22.7.

VersionKnown advisories
github.com/hashicorp/consul 1.20.6CVE-2026-2808, CVE-2026-2808, CVE-2025-11374, CVE-2025-11375, CVE-2025-11374, CVE-2025-11375
github.com/hashicorp/consul 1.20.5CVE-2026-2808, CVE-2026-2808, CVE-2025-11374, CVE-2025-11375, CVE-2025-11374, CVE-2025-11375
github.com/hashicorp/consul 1.20.4CVE-2026-2808, CVE-2026-2808, CVE-2025-11374, CVE-2025-11375, CVE-2025-11374, CVE-2025-11375
github.com/hashicorp/consul 1.20.3CVE-2026-2808, CVE-2026-2808, CVE-2025-11374, CVE-2025-11375, CVE-2025-11374, CVE-2025-11375
github.com/hashicorp/consul 1.20.2CVE-2026-2808, CVE-2026-2808, CVE-2025-11374, CVE-2025-11375, CVE-2025-11374, CVE-2025-11375
github.com/hashicorp/consul 1.20.1CVE-2026-2808, CVE-2026-2808, CVE-2025-11374, CVE-2025-11375, CVE-2025-11374, CVE-2025-11375
github.com/hashicorp/consul 1.20.0CVE-2026-2808, CVE-2026-2808, CVE-2025-11374, CVE-2025-11375, CVE-2025-11374, CVE-2025-11375, CVE-2024-10006, CVE-2024-10005, CVE-2024-10005, CVE-2024-10006

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

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.