Live threats

All CVEs / Hashicorp

CVE-2024-10086Hashicorp Consul

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.7%
probability of exploitation in 30 days · percentile 48
Auth required
No
Published
Oct 30, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Consul.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/hashicorp/consul ≥ 1.4.1 < 1.20.0 1.20.0 go get github.com/hashicorp/consul@v1.20.0
Go github.com/hashicorp/consul ≥ 1.4.1 < 1.20.0 1.20.0 go get github.com/hashicorp/consul@v1.20.0

Per OSV / GitHub Advisories (GHSA-99wr-c2px-grmh, GO-2024-3242). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
hashicorpconsul≥ 1.4.1 < 1.15.15
hashicorpconsul≥ 1.4.1 < 1.20.0
hashicorpconsul≥ 1.18.0 < 1.18.5
hashicorpconsul≥ 1.19.0 < 1.19.3

Official sources

References

Links published by the sources. Open them with care.