Home / Hashicorp / Consul / CVE-2021-38698
CVE-2021-38698: is it exploited, and which versions of Hashicorp Consul are affected and fixed?
CVE-2021-38698 is a missing authorization vulnerability in Hashicorp Consul. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: github.com/hashicorp/consul from 1.10.1 before 1.10.2, github.com/hashicorp/consul from 1.9.0 before 1.9.9 and github.com/hashicorp/consul before 1.8.15 (GitHub advisory GHSA-6hw5-6gcx-phmw). Fixed in 1.10.2, 1.9.9 and 1.8.15 (GitHub advisory GHSA-6hw5-6gcx-phmw). Severity: Medium (6.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:55 UTC.
What is CVE-2021-38698?
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.
From the CVE record by mitre, last updated August 4, 2024, 01:51 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/hashicorp/consul | >= 1.10.1, < 1.10.2 | 1.10.2 | GHSA-6hw5-6gcx-phmw |
| Go | github.com/hashicorp/consul | >= 1.9.0, < 1.9.9 | 1.9.9 | GHSA-6hw5-6gcx-phmw |
| Go | github.com/hashicorp/consul | < 1.8.15 | 1.8.15 | GHSA-6hw5-6gcx-phmw |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 16, 2021. Summary: HashiCorp Consul and Consul Enterprise 1.10.1 Txn.Apply endpoint allowed services to register proxies for other services, enabling access to service traffic..
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| hashicorp | consul | before 1.8.15 | application |
| hashicorp | consul | from 1.9.0 before 1.9.9 | application |
| hashicorp | consul | from 1.10.0 before 1.10.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:02 UTC.
How severe is CVE-2021-38698?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 4.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-38698 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.42% probability of exploitation activity in the next 30 days, percentile 73.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://www.hashicorp.com/blog/category/consul x_refsource_MISC
- https://discuss.hashicorp.com/t/hcsec-2021-24-consul-missing-authorization-check-on-txn-apply-endpoint/29026 x_refsource_MISC
- GLSA-202208-09 vendor-advisory, x_refsource_GENTOO
When was it published, and where is the official record?
- Reserved
- August 14, 2021
- Published
- September 7, 2021, 11:45 UTC
- CVE record updated
- August 4, 2024, 01:51 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 04:02 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:55 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Consul?
- Dec 2, 2026CVE-2026-135251 HashiCorp Consul: incorrect authorization
- Dec 2, 2026CVE-2026-135255 HashiCorp Consul: unprotected alternate channel
- Dec 2, 2026CVE-2026-135265 HashiCorp Consul: missing authorization
- Oct 26, 2026CVE-2026-115804 HashiCorp Consul: authorization bypass through a user-controlled key (IDOR)
- Oct 26, 2026CVE-2026-105626 HashiCorp Consul: denial of service (resources allocated without limits)
- Oct 26, 2026CVE-2026-105608 HashiCorp Consul: improper Handling of Case Sensitivity
- Oct 26, 2026CVE-2026-105765 HashiCorp Consul: missing authorization
- Sep 10, 2026CVE-2026-88021 HashiCorp Consul: incorrect Regular Expression
Questions about CVE-2021-38698
Is CVE-2021-38698 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 1.42% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Hashicorp Consul are affected by CVE-2021-38698?
github.com/hashicorp/consul from 1.10.1 before 1.10.2, github.com/hashicorp/consul from 1.9.0 before 1.9.9 and github.com/hashicorp/consul before 1.8.15, per the GitHub advisory GHSA-6hw5-6gcx-phmw. The tables above give every range the sources list.
Which version fixes CVE-2021-38698?
1.10.2, 1.9.9 and 1.8.15, per the GitHub advisory GHSA-6hw5-6gcx-phmw. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-38698?
Medium (6.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-38698?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.