github.com/hashicorp/consul vulnerabilities

Registry
Go
Latest
1.22.7

64 known advisories

The latest version, 1.22.7, is not affected by any of them. Projects on older versions may be.

Update to the latest version: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

Security advisories for github.com/hashicorp/consul

  • 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
  • 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-10086GO-2024-32424 Nov 2024

    Hashicorp Consul Cross-site Scripting vulnerability in github.com/hashicorp/consul

    Affected
    >=1.4.1 <1.20.0
    Fixed in
    1.20.0
  • 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
  • MediumCVE-2024-10086GHSA-99wr-c2px-grmh31 Oct 2024

    Hashicorp Consul Cross-site Scripting vulnerability

    Affected
    >=1.4.1 <1.20.0
    Fixed in
    1.20.0
  • LowCVE-2022-3920GO-2022-112121 Aug 2024

    Missing Authorization in HashiCorp Consul in github.com/hashicorp/consul

    Affected
    >=1.13.0 <1.14.0
    Fixed in
    1.14.0
  • LowCVE-2022-40716GO-2022-102921 Aug 2024

    HashiCorp Consul vulnerable to authorization bypass in github.com/hashicorp/consul

    Affected
    <1.11.9 · >=1.12.0 <1.12.5 · >=1.13.0 <1.13.2
    Fixed in
    1.11.9, 1.12.5, 1.13.2
  • LowCVE-2022-24687GO-2022-095321 Aug 2024

    HashiCorp Consul Ingress Gateway Panic Can Shutdown Servers in github.com/hashicorp/consul

    Affected
    >=1.8.0 <1.9.15 · >=1.10.0 <1.10.8 · >=1.11.0 <1.11.3
    Fixed in
    1.9.15, 1.10.8, 1.11.3
  • LowCVE-2021-32574GO-2022-089421 Aug 2024

    Hashicorp Consul Missing SSL Certificate Validation in github.com/hashicorp/consul

    Affected
    <1.10.1
    Fixed in
    1.10.1
  • LowCVE-2021-36213GO-2022-089521 Aug 2024

    HashiCorp Consul L7 deny intention results in an allow action in github.com/hashicorp/consul

    Affected
    <1.10.1
    Fixed in
    1.10.1
  • LowCVE-2020-13170GO-2022-085921 Aug 2024

    Improper Input Validation in HashiCorp Consul in github.com/hashicorp/consul

    Affected
    >=1.6.0-beta1 <1.6.6 · >=1.7.0 <1.7.4
    Fixed in
    1.6.6, 1.7.4
  • LowCVE-2020-12758GO-2022-086121 Aug 2024

    Denial of Service (DoS) in HashiCorp Consul in github.com/hashicorp/consul

    Affected
    >=1.6.0-beta1 <1.6.6 · >=1.7.0 <1.7.4
    Fixed in
    1.6.6, 1.7.4
  • LowCVE-2020-7955GO-2022-087421 Aug 2024

    Incorrect Authorization in HashiCorp Consul in github.com/hashicorp/consul

    Affected
    >=1.4.1 <1.6.3
    Fixed in
    1.6.3
  • LowCVE-2020-13250GO-2022-087921 Aug 2024

    Allocation of Resources Without Limits or Throttling in Hashicorp Consul in github.com/hashicorp/consul

    Affected
    >=1.2.0 <1.6.6 · >=1.7.0 <1.7.4
    Fixed in
    1.6.6, 1.7.4
  • LowCVE-2020-12797GO-2022-084721 Aug 2024

    Incorrect Permission Assignment for Critical Resource in Hashicorp Consul in github.com/hashicorp/consul

    Affected
    >=1.6.0 <1.6.6 · >=1.7.0 <1.7.4
    Fixed in
    1.6.6, 1.7.4
  • LowCVE-2020-7219GO-2022-077621 Aug 2024

    Denial of Service (DoS) in HashiCorp Consul in github.com/hashicorp/consul

    Affected
    <1.6.3
    Fixed in
    1.6.3
  • LowCVE-2022-29153GO-2022-061521 Aug 2024

    Hashicorp Consul HTTP health check endpoints returning an HTTP redirect may be abused as SSRF vector in github.com/hashicorp/consul

    Affected
    <1.9.17 · >=1.10.0 <1.10.10 · >=1.11.0 <1.11.5
    Fixed in
    1.9.17, 1.10.10, 1.11.5
  • LowCVE-2021-37219GO-2022-059321 Aug 2024

    HashiCorp Consul Privilege Escalation Vulnerability in github.com/hashicorp/consul

    Affected
    <1.8.15 · >=1.9.0 <1.9.9 · >=1.10.1 <1.10.2
    Fixed in
    1.8.15, 1.9.9, 1.10.2
  • LowCVE-2021-38698GO-2022-055921 Aug 2024

    HashiCorp Consul and Consul Enterprise 1.10.1 Txn.Apply endpoint allowed services to register proxies for other services, enabling access to service traffic. in github.com/hashicorp/consul

    Affected
    <1.8.15 · >=1.9.0 <1.9.9 · >=1.10.1 <1.10.2
    Fixed in
    1.8.15, 1.9.9, 1.10.2
  • LowCVE-2019-8336GO-2023-194520 Aug 2024

    HashiCorp Consul Access Restriction Bypass in github.com/hashicorp/consul

    Affected
    >=1.4.0 <1.4.3
    Fixed in
    1.4.3
  • LowCVE-2023-1297GO-2023-182720 Aug 2024

    Hashicorp Consul vulnerable to denial of service in github.com/hashicorp/consul

    Affected
    <1.14.5 · >=1.15.0 <1.15.3
    Fixed in
    1.14.5, 1.15.3
  • LowCVE-2023-2816GO-2023-182820 Aug 2024

    Hashicorp Consul allows user with service:write permissions to patch remote proxy instances in github.com/hashicorp/consul

    Affected
    >=1.15.0 <1.15.3
    Fixed in
    1.15.3
  • LowCVE-2018-19653GO-2023-185020 Aug 2024

    HashiCorp Consul can use cleartext agent-to-agent RPC communication in github.com/hashicorp/consul

    Affected
    >=0.5.1 <1.4.1
    Fixed in
    1.4.1
  • LowCVE-2020-25864GO-2023-185120 Aug 2024

    HashiCorp Consul Cross-site Scripting vulnerability in github.com/hashicorp/consul

    Affected
    <1.7.14 · >=1.8.0 <1.8.10 · >=1.9.0 <1.9.5
    Fixed in
    1.7.14, 1.8.10, 1.9.5
  • LowCVE-2019-12291GO-2023-185220 Aug 2024

    HashiCorp Consul Incorrect Access Control vulnerability in github.com/hashicorp/consul

    Affected
    >=1.4.0 <1.5.1
    Fixed in
    1.5.1
  • LowCVE-2019-9764GO-2023-185320 Aug 2024

    HashiCorp Consul vulnerable to Origin Validation Error in github.com/hashicorp/consul

    Affected
    <1.4.4
    Fixed in
    1.4.4
  • LowCVE-2023-0845GO-2023-163920 Aug 2024

    Consul Server Panic when Ingress and API Gateways Configured with Peering Connections in github.com/hashicorp/consul

    Affected
    >=1.14.0 <1.14.5
    Fixed in
    1.14.5
  • LowCVE-2020-25201GO-2024-250128 Jun 2024

    Denial of service in HashiCorp Consul in github.com/hashicorp/consul

    Affected
    >=1.7.0 <1.7.9 · >=1.8.0 <1.8.5
    Fixed in
    1.7.9, 1.8.5
  • LowCVE-2020-28053GO-2024-250528 Jun 2024

    Privilege Escalation in HashiCorp Consul in github.com/hashicorp/consul

    Affected
    >=1.2.0 <1.6.10 · >=1.7.0 <1.7.10 · >=1.8.0 <1.8.6
    Fixed in
    1.6.10, 1.7.10, 1.8.6
  • LowCVE-2023-3518GO-2024-27044 Jun 2024

    Consul JWT Auth in L7 Intentions Allow for Mismatched Service Identity and JWT Providers in github.com/hashicorp/consul

    Affected
    >=1.16.0 <1.16.1
    Fixed in
    1.16.1
  • LowCVE-2021-41803GO-2024-26835 Apr 2024

    Improper handling of node names in JWT claims assertions in github.com/hashicorp/consul

    Affected
    >=1.8.1 <1.11.9 · >=1.12.0 <1.12.5 · >=1.13.0 <1.13.2
    Fixed in
    1.11.9, 1.12.5, 1.13.2
  • MediumCVE-2020-28053GHSA-6m72-467w-94rh31 Jan 2024

    Privilege Escalation in HashiCorp Consul

    Affected
    >=1.2.0 <1.6.10 · >=1.7.0 <1.7.10 · >=1.8.0 <1.8.6
    Fixed in
    1.6.10, 1.7.10, 1.8.6
  • HighCVE-2020-25201GHSA-496g-fr33-whrf31 Jan 2024

    Denial of service in HashiCorp Consul

    Affected
    >=1.7.0 <1.7.9 · >=1.8.0 <1.8.5
    Fixed in
    1.7.9, 1.8.5
  • HighCVE-2023-3518GHSA-9rhf-q362-77mx9 Aug 2023

    Consul JWT Auth in L7 Intentions Allow for Mismatched Service Identity and JWT Providers

    Affected
    >=1.16.0 <1.16.1
    Fixed in
    1.16.1
  • HighCVE-2019-12291GHSA-h65h-v7fw-4p389 Jun 2023

    HashiCorp Consul Incorrect Access Control vulnerability

    Affected
    >=1.4.0 <1.5.1
    Fixed in
    1.5.1
  • HighCVE-2023-2816GHSA-rqjq-ww83-wv5c3 Jun 2023

    Hashicorp Consul allows user with service:write permissions to patch remote proxy instances

    Affected
    >=1.15.0 <1.15.3
    Fixed in
    1.15.3
  • MediumCVE-2023-1297GHSA-c57c-7hrj-6q6v3 Jun 2023

    Hashicorp Consul vulnerable to denial of service

    Affected
    <1.14.5 · >=1.15.0 <1.15.3
    Fixed in
    1.14.5, 1.15.3
  • MediumCVE-2023-0845GHSA-wj6x-hcc2-f32j9 Mar 2023

    Consul Server Panic when Ingress and API Gateways Configured with Peering Connections

    Affected
    >=1.14.0 <1.14.5
    Fixed in
    1.14.5
  • HighCVE-2022-3920GHSA-gw2g-hhc9-wgjh16 Nov 2022

    Missing Authorization in HashiCorp Consul

    Affected
    >=1.13.0 <1.14.0
    Fixed in
    1.14.0
  • MediumCVE-2022-40716GHSA-m69r-9g56-7mv825 Sept 2022

    HashiCorp Consul vulnerable to authorization bypass

    Affected
    <1.11.9 · >=1.12.0 <1.12.5 · >=1.13.0 <1.13.2
    Fixed in
    1.11.9, 1.12.5, 1.13.2
  • HighCVE-2021-41803GHSA-hr3v-8cp3-68rf25 Sept 2022

    HashiCorp Consul does not properly validate node or segment names prior to usage in JWT claim assertions

    Affected
    >=1.8.1 <1.11.9 · >=1.12.0 <1.12.5 · >=1.13.0 <1.13.2
    Fixed in
    1.11.9, 1.12.5, 1.13.2
  • MediumCVE-2020-25864GHSA-8xmx-h8rq-h94j24 May 2022

    HashiCorp Consul Cross-site Scripting vulnerability

    Affected
    >=1.9.0 <1.9.5 · >=1.8.0 <1.8.10 · <1.7.14
    Fixed in
    1.7.14, 1.8.10, 1.9.5
  • MediumCVE-2018-19653GHSA-4qvx-qq5w-695p14 May 2022

    HashiCorp Consul can use cleartext agent-to-agent RPC communication

    Affected
    >=0.5.1 <1.4.1
    Fixed in
    1.4.1
  • HighCVE-2019-9764GHSA-q7fx-wm2p-qfj813 May 2022

    HashiCorp Consul vulnerable to Origin Validation Error

    Affected
    <1.4.4
    Fixed in
    1.4.4
  • HighCVE-2019-8336GHSA-fhm8-cxcv-pwvc13 May 2022

    HashiCorp Consul Access Restriction Bypass

    Affected
    >=1.4.0 <1.4.3
    Fixed in
    1.4.3
  • HighCVE-2022-29153GHSA-q6h7-4qgw-2j9p20 Apr 2022

    Hashicorp Consul HTTP health check endpoints returning an HTTP redirect may be abused as SSRF vector

    Affected
    <1.9.17 · >=1.10.0 <1.10.10 · >=1.11.0 <1.11.5
    Fixed in
    1.9.17, 1.10.10, 1.11.5
  • MediumCVE-2022-24687GHSA-hj93-5fg3-3chr25 Feb 2022

    HashiCorp Consul Ingress Gateway Panic Can Shutdown Servers

    Affected
    >=1.8.0 <1.9.15 · >=1.10.0 <1.10.8 · >=1.11.0 <1.11.3
    Fixed in
    1.9.15, 1.10.8, 1.11.3
  • MediumCVE-2020-12758GHSA-q2qr-3c2p-923515 Feb 2022

    Denial of Service (DoS) in HashiCorp Consul

    Affected
    >=1.6.0-beta1 <1.6.6 · >=1.7.0 <1.7.4
    Fixed in
    1.6.6, 1.7.4
  • MediumCVE-2021-38698GHSA-6hw5-6gcx-phmw8 Sept 2021

    HashiCorp Consul and Consul Enterprise 1.10.1 Txn.Apply endpoint allowed services to register proxies for other services, enabling access to service traffic.

    Affected
    >=1.10.1 <1.10.2 · >=1.9.0 <1.9.9 · <1.8.15
    Fixed in
    1.8.15, 1.9.9, 1.10.2
  • HighCVE-2021-37219GHSA-ccw8-7688-vqx48 Sept 2021

    HashiCorp Consul Privilege Escalation Vulnerability

    Affected
    >=1.10.1 <1.10.2 · >=1.9.0 <1.9.9 · <1.8.15
    Fixed in
    1.8.15, 1.9.9, 1.10.2
  • MediumCVE-2020-7955GHSA-r9w6-rhh9-7v5328 Jul 2021

    Incorrect Authorization in HashiCorp Consul

    Affected
    >=1.4.1 <1.6.3
    Fixed in
    1.6.3
  • HighCVE-2021-36213GHSA-8h2g-r292-j8xh19 Jul 2021

    HashiCorp Consul L7 deny intention results in an allow action

    Affected
    <1.10.1
    Fixed in
    1.10.1
  • HighCVE-2021-32574GHSA-25gf-8qrr-g78r19 Jul 2021

    Hashicorp Consul Missing SSL Certificate Validation

    Affected
    <1.10.1
    Fixed in
    1.10.1
  • MediumCVE-2020-12797GHSA-hwqm-x785-qh8p23 Jun 2021

    Incorrect Permission Assignment for Critical Resource in Hashicorp Consul

    Affected
    >=1.6.0 <1.6.6 · >=1.7.0 <1.7.4
    Fixed in
    1.6.6, 1.7.4
  • HighCVE-2020-13250GHSA-rqjq-mrgx-85hp18 May 2021

    Allocation of Resources Without Limits or Throttling in Hashicorp Consul

    Affected
    >=1.2.0 <1.6.6 · >=1.7.0 <1.7.4
    Fixed in
    1.6.6, 1.7.4
  • MediumCVE-2020-13170GHSA-p2j5-3f4c-224r18 May 2021

    Improper Input Validation in HashiCorp Consul

    Affected
    >=1.6.0-beta1 <1.6.6 · >=1.7.0 <1.7.4
    Fixed in
    1.6.6, 1.7.4
  • HighCVE-2020-7219GHSA-23jv-v6qj-3fhh18 May 2021

    Denial of Service (DoS) in HashiCorp Consul

    Affected
    <1.6.3
    Fixed in
    1.6.3

Is your github.com/hashicorp/consul version vulnerable?

Which of your client projects still run an old github.com/hashicorp/consul?

NPMscan reads the go.mod in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Go packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Go registry.