Live threats

All CVEs / Hashicorp

CVE-2020-25864Hashicorp Consul

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
6.1%
probability of exploitation in 30 days · percentile 94
Auth required
No
Published
Apr 20, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

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.9.0 < 1.9.5 1.9.5 go get github.com/hashicorp/consul@v1.9.5
Go github.com/hashicorp/consul ≥ 1.8.0 < 1.8.10 1.8.10 go get github.com/hashicorp/consul@v1.8.10
Go github.com/hashicorp/consul < 1.7.14 1.7.14 go get github.com/hashicorp/consul@v1.7.14
Go github.com/hashicorp/consul < 1.7.14 1.7.14 go get github.com/hashicorp/consul@v1.7.14
Go github.com/hashicorp/consul ≥ 1.8.0 < 1.8.10 1.8.10 go get github.com/hashicorp/consul@v1.8.10
Go github.com/hashicorp/consul ≥ 1.9.0 < 1.9.5 1.9.5 go get github.com/hashicorp/consul@v1.9.5

Per OSV / GitHub Advisories (GHSA-8xmx-h8rq-h94j, GO-2023-1851). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
hashicorpconsul< 1.7.14
hashicorpconsul< 1.7.14
hashicorpconsul≥ 1.8.0 < 1.8.10
hashicorpconsul≥ 1.8.0 < 1.8.10
hashicorpconsul≥ 1.9.0 < 1.9.5
hashicorpconsul≥ 1.9.0 < 1.9.5

Official sources

References

Links published by the sources. Open them with care.