# CVE-2020-13170: Improper Input Validation in HashiCorp Consul

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.77%, higher than 78% of CVEs (2026-12-01)
- Published: 2020-06-11T19:41:25.000Z
- Modified: 2026-09-08T08:45:58.266Z
- Also known as: GHSA-p2j5-3f4c-224r, BIT-CONSUL-2020-13170, GO-2022-0859
- Weaknesses: CWE-20
- Assigned by: mitre

## Description

HashiCorp Consul and Consul Enterprise did not appropriately enforce scope for local tokens issued by a primary data center, where replication to a secondary data center was not enabled. Introduced in 1.4.0, fixed in 1.6.6 and 1.7.4.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/hashicorp/consul (Go): from 1.6.0-beta1 before 1.6.6; from 1.7.0 before 1.7.4
- hashicorp consul: from 1.4.0 before 1.6.6; from 1.7.0 before 1.7.4
- consul (Bitnami): from 1.4.0 before 1.6.6; from 1.7.0 before 1.7.4

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/hashicorp/consul/blob/v1.6.6/CHANGELOG.md> (advisory, release-notes, third-party-advisory, web)
- <https://github.com/hashicorp/consul/blob/v1.7.4/CHANGELOG.md> (advisory, release-notes, third-party-advisory, web)
- <https://github.com/hashicorp/consul/pull/8068> (advisory, fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-13170> (advisory, web)
- <https://github.com/hashicorp/consul/commit/242994a016a181d6c62a5bb83189716ad13d4216> (fix, web)
- <https://github.com/advisories/GHSA-p2j5-3f4c-224r> (advisory)

## Sources

- CVE List: [CVE-2020-13170](https://www.cve.org/CVERecord?id=CVE-2020-13170), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-p2j5-3f4c-224r](https://github.com/advisories/GHSA-p2j5-3f4c-224r), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0859](https://pkg.go.dev/vuln/GO-2022-0859), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2020-13170](https://nvd.nist.gov/vuln/detail/CVE-2020-13170), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-CONSUL-2020-13170](https://osv.dev/vulnerability/BIT-CONSUL-2020-13170), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-13170 · Whole record: https://cve.day/CVE-2020-13170.json · Rebuilt by cve.day 2026-11-25T22:57:52.927Z
