# 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.

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/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.42%, higher than 73% of CVEs (2026-12-01)
- Published: 2021-09-07T11:45:14.000Z
- Modified: 2026-09-10T03:49:08.568Z
- Also known as: GHSA-6hw5-6gcx-phmw, BIT-CONSUL-2021-38698, GO-2022-0559
- Related: CGA-3jj9-fgg8-r8jj
- Weaknesses: CWE-862, CWE-863
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/hashicorp/consul (Go): from 1.10.1 before 1.10.2; from 1.9.0 before 1.9.9; before 1.8.15
- hashicorp consul: before 1.8.15; from 1.9.0 before 1.9.9; from 1.10.0 before 1.10.2
- consul (Bitnami): before 1.8.15; from 1.9.0 before 1.9.9; from 1.10.0 before 1.10.2

## Every score

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

## References

- <https://www.hashicorp.com/blog/category/consul> (advisory, product, vendor-advisory, web)
- <https://discuss.hashicorp.com/t/hcsec-2021-24-consul-missing-authorization-check-on-txn-apply-endpoint/29026> (advisory, vendor-advisory, web)
- <https://security.gentoo.org/glsa/202208-09> (advisory, third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-38698> (advisory, web)
- <https://github.com/hashicorp/consul/pull/10824> (fix, web)
- <https://github.com/hashicorp/consul> (package)
- <https://github.com/advisories/GHSA-6hw5-6gcx-phmw> (advisory)

## Sources

- CVE List: [CVE-2021-38698](https://www.cve.org/CVERecord?id=CVE-2021-38698), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-6hw5-6gcx-phmw](https://github.com/advisories/GHSA-6hw5-6gcx-phmw), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2022-0559](https://pkg.go.dev/vuln/GO-2022-0559), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2021-38698](https://nvd.nist.gov/vuln/detail/CVE-2021-38698), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-CONSUL-2021-38698](https://osv.dev/vulnerability/BIT-CONSUL-2021-38698), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-38698 · Whole record: https://cve.day/CVE-2021-38698.json · Rebuilt by cve.day 2026-11-25T22:58:03.674Z
