Skip to content

← Public intelligence

Go package

github.com/hashicorp/consul

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

32 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 6.8GoPublished

    Consul is vulnerable to arbitrary file read when configured with Kubernetes authentication

    CVE-2026-2808 · GHSA-cpfq-66p2-336j

    Affected
    • Go github.com/hashicorp/consul < 1.18.21; >= 1.22.0-rc1, < 1.22.5; >= 1.19.0, < 1.21.11
    Fixed in
    1.18.211.22.51.21.11· Vendor fix available
    Issue
    HashiCorp Consul and Consul Enterprise 1.18.20 up to 1.21.10 and 1.22.4 are vulnerable to arbitrary file read when configured with Kubernetes authentication. This vulnerability, CVE-2026-2808, is fixed in Consul 1.18.21, 1.21.11 and 1.22.5.

    Recommended action: Upgrade to 1.22.5, 1.21.11 or 1.18.21 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 6.5GoPublished

    Consul key/value endpoint is vulnerable to denial of service

    CVE-2025-11374 · GHSA-7g3r-8c6v-hfmr

    Affected
    • Go github.com/hashicorp/consul < 1.22.0
    Fixed in
    1.22.0· Vendor fix available
    Issue
    Consul and Consul Enterprise’s (“Consul”) key/value endpoint is vulnerable to denial of service (DoS) due to incorrect Content Length header validation. This vulnerability, CVE-2025-11374, is fixed in Consul Community Edition 1.22.0 and Consul Enterprise 1.22.0, 1.21.6, 1.20.8 and 1.18.12.

    Recommended action: Upgrade to 1.22.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. Medium, CVSS 6.5GoPublished

    Consul event endpoint is vulnerable to denial of service

    CVE-2025-11375 · GHSA-qh7p-pfq3-677h

    Affected
    • Go github.com/hashicorp/consul < 1.22.0
    Fixed in
    1.22.0· Vendor fix available
    Issue
    Consul and Consul Enterprise’s (“Consul”) event endpoint is vulnerable to denial of service (DoS) due to lack of maximum value on the Content Length header. This vulnerability, CVE-2025-11375, is fixed in Consul Community Edition 1.22.0 and Consul Enterprise 1.22.0, 1.21.6, 1.20.8 and 1.18.12.

    Recommended action: Upgrade to 1.22.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. High, CVSS 8.6GoPublished

    Hashicorp Consul Path Traversal vulnerability

    CVE-2024-10005 · GHSA-chgm-7r52-whjj

    Affected
    • Go github.com/hashicorp/consul >= 1.9.0, < 1.20.1
    Fixed in
    1.20.1· Vendor fix available
    Issue
    A vulnerability was identified in Consul and Consul Enterprise ("Consul") such that using URL paths in L7 traffic intentions could bypass HTTP request path-based access rules.

    Recommended action: Upgrade to 1.20.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. Medium, CVSS 5.3GoPublished

    Hashicorp Consul Cross-site Scripting vulnerability

    CVE-2024-10086 · GHSA-99wr-c2px-grmh

    Affected
    • Go github.com/hashicorp/consul >= 1.4.1, < 1.20.0
    Fixed in
    1.20.0· Vendor fix available
    Issue
    A vulnerability was identified in Consul and Consul Enterprise such that the server response did not explicitly set a Content-Type HTTP header, allowing user-provided inputs to be misinterpreted and lead to reflected XSS.

    Recommended action: Upgrade to 1.20.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. Medium, CVSS 6.9GoPublished

    Hashicorp Consul Improper Neutralization of HTTP Headers for Scripting Syntax vulnerability

    CVE-2024-10006 · GHSA-5c4w-8hhh-3c3h

    Affected
    • Go github.com/hashicorp/consul >= 1.9.0, < 1.20.1
    Fixed in
    1.20.1· Vendor fix available
    Issue
    A vulnerability was identified in Consul and Consul Enterprise ("Consul") such that using Headers in L7 traffic intentions could bypass HTTP header based access rules.

    Recommended action: Upgrade to 1.20.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  7. Medium, CVSS 6.5GoPublished

    Privilege Escalation in HashiCorp Consul

    CVE-2020-28053 · GHSA-6m72-467w-94rh

    Affected
    • Go github.com/hashicorp/consul >= 1.2.0, < 1.6.10; >= 1.7.0, < 1.7.10; >= 1.8.0, < 1.8.6
    Fixed in
    1.6.101.8.61.7.10· Vendor fix available
    Issue
    HashiCorp Consul and Consul Enterprise 1.2.0 up to 1.8.5 allowed operators with operator:read ACL permissions to read the Connect CA private key configuration. Fixed in 1.6.10, 1.7.10, and 1.8.6.

    Recommended action: Upgrade to 1.8.6, 1.7.10 or 1.6.10 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  8. High, CVSS 7.5GoPublished

    Denial of service in HashiCorp Consul

    CVE-2020-25201 · GHSA-496g-fr33-whrf

    Affected
    • Go github.com/hashicorp/consul >= 1.7.0, < 1.7.9; >= 1.8.0, < 1.8.5
    Fixed in
    1.8.51.7.9· Vendor fix available
    Issue
    HashiCorp Consul Enterprise versions 1.7.0 up to 1.7.8 and 1.8.0 up to 1.8.4 includes a namespace replication bug which can be triggered to cause denial of service via infinite Raft writes. Fixed in 1.7.9 and 1.8.5.

    Recommended action: Upgrade to 1.8.5 or 1.7.9 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  9. High, CVSS 7.4GoPublished

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

    CVE-2023-3518 · GHSA-9rhf-q362-77mx

    Affected
    • Go github.com/hashicorp/consul >= 1.16.0, <= 1.16.0
    Fixed in
    1.16.1· Vendor fix available
    Issue
    A vulnerability was identified in Consul such that using JWT authentication for service mesh incorrectly allows/denies access regardless of service identities. This vulnerability, CVE-2023-3518, affects Consul 1.16.0 and was fixed in 1.16.1.

    Recommended action: Upgrade to 1.16.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  10. High, CVSS 7.5GoPublished

    HashiCorp Consul Incorrect Access Control vulnerability

    CVE-2019-12291 · GHSA-h65h-v7fw-4p38

    Affected
    • Go github.com/hashicorp/consul >= 1.4.0, < 1.5.1
    Fixed in
    1.5.1· Vendor fix available
    Issue
    HashiCorp Consul 1.4.0 through 1.5.0 has Incorrect Access Control. Keys not matching a specific ACL rule used for prefix matching in a policy can be deleted by a token using that policy even with default deny settings configured. Specific Go Packages Affected github.com/hashicorp/consul/acl

    Recommended action: Upgrade to 1.5.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  11. Medium, CVSS 4.9GoPublished

    Hashicorp Consul vulnerable to denial of service

    CVE-2023-1297 · GHSA-c57c-7hrj-6q6v

    Affected
    • Go github.com/hashicorp/consul < 1.14.5; >= 1.15.0, < 1.15.3
    Fixed in
    1.14.51.15.3· Vendor fix available
    Issue
    Consul and Consul Enterprise's cluster peering implementation contained a flaw whereby a peer cluster with service of the same name as a local service could corrupt Consul state, resulting in denial of service. This vulnerability was resolved in Consul 1.14.5, and 1.15.3

    Recommended action: Upgrade to 1.15.3 or 1.14.5 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  12. High, CVSS 8.7GoPublished

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

    CVE-2023-2816 · GHSA-rqjq-ww83-wv5c

    Affected
    • Go github.com/hashicorp/consul >= 1.15.0, < 1.15.3
    Fixed in
    1.15.3· Vendor fix available
    Issue
    Consul and Consul Enterprise allowed any user with service:write permissions to use Envoy extensions configured via service-defaults to patch remote proxy instances that target the configured service, regardless of whether the user has permission to modify the service(s) corresponding to those modified proxies.

    Recommended action: Upgrade to 1.15.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  13. Medium, CVSS 6.5GoPublished

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

    CVE-2023-0845 · GHSA-wj6x-hcc2-f32j

    Affected
    • Go github.com/hashicorp/consul >= 1.14.0, < 1.14.5
    Fixed in
    1.14.5· Vendor fix available
    Issue
    A vulnerability was identified in Consul and Consul Enterprise (“Consul”) an authenticated user with service:write permissions could trigger a workflow that causes Consul server and client agents to crash under certain circumstances. To exploit this vulnerability, an attacker requires access to an ACL token with service:write permissions, and there needs to be at least one running ingress or API gateway that is configured to route traffic to an upstream service.

    Recommended action: Upgrade to 1.14.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  14. High, CVSS 7.5GoPublished

    Missing Authorization in HashiCorp Consul

    CVE-2022-3920 · GHSA-gw2g-hhc9-wgjh

    Affected
    • Go github.com/hashicorp/consul >= 1.13.0, < 1.14.0
    Fixed in
    1.14.0· Vendor fix available
    Issue
    HashiCorp Consul and Consul Enterprise 1.13.0 up to 1.13.3 do not filter cluster filtering's imported nodes and services for HTTP or RPC endpoints used by the UI. Fixed in 1.14.0.

    Recommended action: Upgrade to 1.14.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  15. Medium, CVSS 6.5GoPublished

    HashiCorp Consul vulnerable to authorization bypass

    CVE-2022-40716 · GHSA-m69r-9g56-7mv8

    Affected
    • Go github.com/hashicorp/consul < 1.11.9; >= 1.12.0, < 1.12.5; >= 1.13.0, < 1.13.2
    Fixed in
    1.13.21.12.51.11.9· Vendor fix available
    Issue
    HashiCorp Consul and Consul Enterprise versions prior to 1.11.9, 1.12.5, and 1.13.2 do not check for multiple SAN URI values in a CSR on the internal RPC endpoint, enabling leverage of privileged access to bypass service mesh intentions. A specially crafted CSR sent directly to Consul’s internal server agent RPC endpoint can include multiple SAN URI values with additional service names. This issue has been fixed in versions 1.11.9, 1.12.5, and 1.13.2. There are no known workarounds.

    Recommended action: Upgrade to 1.13.2, 1.12.5 or 1.11.9 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  16. High, CVSS 7.1GoPublished

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

    CVE-2021-41803 · GHSA-hr3v-8cp3-68rf

    Affected
    • Go github.com/hashicorp/consul >= 1.8.1, < 1.11.9; >= 1.12.0, < 1.12.5; >= 1.13.0, < 1.13.2
    Fixed in
    1.13.21.12.51.11.9· Vendor fix available
    Issue
    HashiCorp Consul 1.8.1 up to 1.11.8, 1.12.4, and 1.13.1 did not properly validate the node or segment names prior to interpolation and usage in JWT claim assertions with the auto config RPC. Fixed in 1.11.9, 1.12.5, and 1.13.2.

    Recommended action: Upgrade to 1.13.2, 1.12.5 or 1.11.9 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  17. Medium, CVSS 6.1GoPublished

    HashiCorp Consul Cross-site Scripting vulnerability

    CVE-2020-25864 · GHSA-8xmx-h8rq-h94j

    Affected
    • Go github.com/hashicorp/consul >= 1.9.0, < 1.9.5; >= 1.8.0, < 1.8.10; < 1.7.14
    Fixed in
    1.8.101.7.141.9.5· Vendor fix available
    Issue
    HashiCorp Consul and Consul Enterprise up to version 1.9.4 key-value (KV) raw mode was vulnerable to cross-site scripting. Fixed in 1.9.5, 1.8.10 and 1.7.14.

    Recommended action: Upgrade to 1.9.5, 1.8.10 or 1.7.14 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  18. Medium, CVSS 5.9GoPublished

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

    CVE-2018-19653 · GHSA-4qvx-qq5w-695p

    Affected
    • Go github.com/hashicorp/consul >= 0.5.1, < 1.4.1
    Fixed in
    1.4.1· Vendor fix available
    Issue
    HashiCorp Consul 0.5.1 through 1.4.0 can use cleartext agent-to-agent RPC communication because the verifyoutgoing setting is improperly documented. NOTE: the vendor has provided reconfiguration steps that do not require a software upgrade.

    Recommended action: Upgrade to 1.4.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  19. High, CVSS 7.4GoPublished

    HashiCorp Consul vulnerable to Origin Validation Error

    CVE-2019-9764 · GHSA-q7fx-wm2p-qfj8

    Affected
    • Go github.com/hashicorp/consul < 1.4.4
    Fixed in
    1.4.4· Vendor fix available
    Issue
    HashiCorp Consul 1.4.3 lacks server hostname verification for agent-to-agent TLS communication. In other words, the product behaves as if verifyserverhostname were set to false, even when it is actually set to true. This is fixed in 1.4.4.

    Recommended action: Upgrade to 1.4.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  20. High, CVSS 8.1GoPublished

    HashiCorp Consul Access Restriction Bypass

    CVE-2019-8336 · GHSA-fhm8-cxcv-pwvc

    Affected
    • Go github.com/hashicorp/consul >= 1.4.0, < 1.4.3
    Fixed in
    1.4.3· Vendor fix available
    Issue
    HashiCorp Consul (and Consul Enterprise) 1.4.x before 1.4.3 allows a client to bypass intended access restrictions and obtain the privileges of one other arbitrary token within secondary datacenters, because a token with literally "<hidden" as its secret is used in unusual circumstances.

    Recommended action: Upgrade to 1.4.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  21. High, CVSS 7.5GoPublished

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

    CVE-2022-29153 · GHSA-q6h7-4qgw-2j9p

    Affected
    • Go github.com/hashicorp/consul < 1.9.17; >= 1.10.0, < 1.10.10; >= 1.11.0, < 1.11.5
    Fixed in
    1.11.51.9.171.10.10· Vendor fix available
    Issue
    A vulnerability was identified in Consul and Consul Enterprise (“Consul”) such that HTTP health check endpoints returning an HTTP redirect may be abused as a vector for server-side request forgery (SSRF). This vulnerability, CVE-2022-29153, was fixed in Consul 1.9.17, 1.10.10, and 1.11.5.

    Recommended action: Upgrade to 1.11.5, 1.10.10 or 1.9.17 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  22. Medium, CVSS 6.5GoPublished

    HashiCorp Consul Ingress Gateway Panic Can Shutdown Servers

    CVE-2022-24687 · GHSA-hj93-5fg3-3chr

    Affected
    • Go github.com/hashicorp/consul >= 1.8.0, <= 1.9.14; >= 1.10.0, <= 1.10.7; >= 1.11.0, <= 1.11.2
    Fixed in
    1.10.81.9.151.11.3· Vendor fix available
    Issue
    HashiCorp Consul and Consul Enterprise 1.8.0 through 1.9.14, 1.10.7, and 1.11.2 has Uncontrolled Resource Consumption. Clusters with at least one ingress gateway configured may allow a user with service:write permission to register a specifically-defined service that can cause the Consul server to panic and shutdown. Versions 1.9.15, 1.10.8, and 1.11.3 contain patches for the problem.

    Recommended action: Upgrade to 1.11.3, 1.10.8 or 1.9.15 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  23. Medium, CVSS 5.3GoPublished

    Denial of Service (DoS) in HashiCorp Consul

    CVE-2020-12758 · GHSA-q2qr-3c2p-9235

    Affected
    • Go github.com/hashicorp/consul >= 1.6.0-beta1, < 1.6.6; >= 1.7.0, < 1.7.4
    Fixed in
    1.6.61.7.4· Vendor fix available
    Issue
    HashiCorp Consul and Consul Enterprise could crash when configured with an abnormally-formed service-router entry. Introduced in 1.6.0, fixed in 1.6.6 and 1.7.4. Specific Go Packages Affected github.com/hashicorp/consul/agent/consul/discoverychain

    Recommended action: Upgrade to 1.7.4 or 1.6.6 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  24. Medium, CVSS 6.5GoPublished

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

    CVE-2021-38698 · GHSA-6hw5-6gcx-phmw

    Affected
    • Go github.com/hashicorp/consul >= 1.10.1, <= 1.10.1; >= 1.9.0, < 1.9.9; < 1.8.15
    Fixed in
    1.9.91.8.151.10.2· Vendor fix available
    Issue
    HashiCorp Consul and Consul Enterprise 1.10.1 Txn.Apply endpoint allowed services to register proxies for other services, enabling access to service traffic. Fixed in 1.8.15, 1.9.9 and 1.10.2.

    Recommended action: Upgrade to 1.10.2, 1.9.9 or 1.8.15 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  25. High, CVSS 8.8GoPublished

    HashiCorp Consul Privilege Escalation Vulnerability

    CVE-2021-37219 · GHSA-ccw8-7688-vqx4

    Affected
    • Go github.com/hashicorp/consul >= 1.10.1, <= 1.10.1; >= 1.9.0, < 1.9.9; < 1.8.15
    Fixed in
    1.9.91.8.151.10.2· Vendor fix available
    Issue
    HashiCorp Consul and Consul Enterprise 1.10.1 Raft RPC layer allows non-server agents with a valid certificate signed by the same CA to access server-only functionality, enabling privilege escalation. Fixed in 1.8.15, 1.9.9 and 1.10.2.

    Recommended action: Upgrade to 1.10.2, 1.9.9 or 1.8.15 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →