Home / Hashicorp / Consul / CVE-2022-40716
CVE-2022-40716: is it exploited, and which versions of Hashicorp Consul are affected and fixed?
CVE-2022-40716 is an unchecked return value 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, 12:38 UTC). Affected: github.com/hashicorp/consul before 1.11.9, github.com/hashicorp/consul from 1.12.0 before 1.12.5 and github.com/hashicorp/consul from 1.13.0 before 1.13.2 (GitHub advisory GHSA-m69r-9g56-7mv8). Fixed in 1.11.9, 1.12.5 and 1.13.2 (GitHub advisory GHSA-m69r-9g56-7mv8). Severity: Medium (6.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:45 UTC.
What is CVE-2022-40716?
HashiCorp Consul and Consul Enterprise up to 1.11.8, 1.12.4, and 1.13.1 do not check for multiple SAN URI values in a CSR on the internal RPC endpoint, enabling leverage of privileged access to bypass service mesh intentions. Fixed in 1.11.9, 1.12.5, and 1.13.2."
From the CVE record by mitre, last updated May 27, 2025, 14:54 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/hashicorp/consul | < 1.11.9 | 1.11.9 | GHSA-m69r-9g56-7mv8 |
| Go | github.com/hashicorp/consul | >= 1.12.0, < 1.12.5 | 1.12.5 | GHSA-m69r-9g56-7mv8 |
| Go | github.com/hashicorp/consul | >= 1.13.0, < 1.13.2 | 1.13.2 | GHSA-m69r-9g56-7mv8 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 6, 2023. Summary: HashiCorp Consul vulnerable to authorization bypass.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| hashicorp | consul | before 1.11.9 | application |
| hashicorp | consul | from 1.12.0 before 1.12.5 | application |
| hashicorp | consul | from 1.13.0 before 1.13.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:01 UTC.
How severe is CVE-2022-40716?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | CISA-ADP |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/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-2022-40716 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 27, 2025)
- EPSS
- 1.16% probability of exploitation activity in the next 30 days, percentile 68.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-252 Unchecked Return Value
Where are the vendor advisories and references?
- https://discuss.hashicorp.com
- https://discuss.hashicorp.com/t/hcsec-2022-20-consul-service-mesh-intention-bypass-with-malicious-certificate-signing-request/44628
- FEDORA-2023-9f5f1ef40a vendor-advisory
- FEDORA-2023-cf3551046d vendor-advisory
- FEDORA-2023-b9c1d0e4c5 vendor-advisory
When was it published, and where is the official record?
- Reserved
- September 14, 2022
- Published
- September 23, 2022, 00:00 UTC
- CVE record updated
- May 27, 2025, 14:54 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 05:01 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:45 UTC; KEV December 3, 2026, 12:38 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-2022-40716
Is CVE-2022-40716 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 1.16% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Hashicorp Consul are affected by CVE-2022-40716?
github.com/hashicorp/consul before 1.11.9, github.com/hashicorp/consul from 1.12.0 before 1.12.5 and github.com/hashicorp/consul from 1.13.0 before 1.13.2, per the GitHub advisory GHSA-m69r-9g56-7mv8. The tables above give every range the sources list.
Which version fixes CVE-2022-40716?
1.11.9, 1.12.5 and 1.13.2, per the GitHub advisory GHSA-m69r-9g56-7mv8. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-40716?
Medium (6.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2022-40716?
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.