Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2020-25864: HashiCorp Consul and Consul Enterprise up to version 1.9.4 key-value (KV) raw mode was vulnerable to cross-sit

45
This month
MEDIUM 6.1UPGRADE

CVE-2020-25864 is a medium-severity flaw (CVSS 6.1) affecting consul. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • EPSS top 7%: very likely to be exploited

A fixed release or distro patch exists.

Risk facts

CVSS score6.1 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance6.1% (top 7%)
CISA exploited listNo
WeaknessCWE-79
Published2021-04-20
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: hashicorp

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

hashicorp consul UPGRADE
Affected: < 1.7.14 · >= 1.8.0 and < 1.8.10 · >= 1.9.0 and < 1.9.5
Fixed in: 1.7.14, 1.8.10, 1.9.5
Safe to downgrade to: a release before 1.8.0
1. Check installed version
apt-cache policy consul || rpm -q consul || consul --version
2. UPGRADE to 1.7.14 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade consul
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade consul
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 1.8.0 (Debian / Ubuntu)
apt-cache madison consul sudo apt install consul=<VERSION_BEFORE_1.8.0> sudo apt-mark hold consul
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list consul sudo dnf downgrade consul-<VERSION_BEFORE_1.8.0> sudo dnf versionlock add consul
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2020-25864?

consul: upgrade to 1.7.14, 1.8.10, 1.9.5. Exact commands for each OS are on this page.

Is CVE-2020-25864 being exploited?

CVE-2020-25864 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2020-25864 affect?

CVE-2020-25864 affects consul. Severity is medium (CVSS 6.1). 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.

How urgent is CVE-2020-25864?

Priority 45/100. EPSS top 7%: very likely to be exploited

Software pages

Consul vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.