CVE-2021-41803 in Hashicorp Consul
HashiCorp Consul 1.8.1 up to 1.11.8, 1.12.4, and 1.13.1 do not properly validate the node or segment names prior to interpolation and usage in JWT claim assertions with the auto config RPC. Fixed in 1.11.9, 1.12.5, and 1.13.2."
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Hashicorp | Consul | 1.12.4 1.13.1 ≥ 1.8.1, < 1.11.9 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
HashiCorp Consul 1.8.1 up to 1.11.8, 1.12.4, and 1.13.1 do not properly validate the node or segment names prior to interpolation and usage in JWT claim assertions with the auto config RPC. Fixed in 1.11.9, 1.12.5, and 1.13.2."
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-41803 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-298821-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H |
| Published | 2022-09-23 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-862: Missing Authorization
Software does not check whether an authenticated actor has permission for the requested operation.
Related attack patterns (CAPEC)
CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-862
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
HashiCorp Consul versions 1.8.1 up to 1.11.8, 1.12.4, and 1.13.1 are vulnerable to an issue where node or segment names are not properly validated before being used in JWT claim assertions with the auto config RPC, potentially leading to unauthorized access or privilege escalation.
An attacker could exploit this vulnerability by crafting specially crafted node or segment names that bypass validation, leading to the generation of JWTs with elevated privileges or unauthorized access.
Questions
What is CVE-2021-41803?
HashiCorp Consul versions 1.8.1 up to 1.11.8, 1.12.4, and 1.13.1 are vulnerable to an issue where node or segment names are not properly validated before being used in JWT claim assertions with the auto config RPC, potentially leading to unauthorized access or privilege escalation.
What is the CVSS score for CVE-2021-41803?
CVE-2021-41803 has CVSS 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H. EPSS: 1.1%.
Is CVE-2021-41803 actively exploited?
No confirmed active exploitation of CVE-2021-41803 as of 2026-09-25.
How do I remediate CVE-2021-41803?
Priority: HIGH. Advisory: https://discuss.hashicorp.com/t/hcsec-2022-19-consul-auto-config-jwt-authorization-missing-input-validation/44627 PSIRT: [email protected]
What systems are affected by CVE-2021-41803?
CVE-2021-41803 affects Hashicorp Consul.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Hashicorp","product":"Consul","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.