CVE-2021-37218 in Hashicorp Nomad
HashiCorp Nomad and Nomad Enterprise Raft RPC layer allows non-server agents with a valid certificate signed by the same CA to access server-only functionality, enabling privilege escalation. Fixed in 1.0.10 and 1.1.4.
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, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Hashicorp | Nomad | ≤ 1.0.10 ≥ 1.1.1, < 1.1.4 |
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 Nomad and Nomad Enterprise Raft RPC layer allows non-server agents with a valid certificate signed by the same CA to access server-only functionality, enabling privilege escalation. Fixed in 1.0.10 and 1.1.4.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-37218 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-304268-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-09-07 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-295: CWE-295
Related attack patterns (CAPEC)
CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-295
CAPEC-475 Signature Spoofing by Improper Validation via CWE-295
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in the Raft RPC layer of HashiCorp Nomad and Nomad Enterprise allows non-server agents with a valid certificate signed by the same CA to access server-only functionality, potentially leading to privilege escalation.
The attack vector involves non-server agents using a valid certificate issued by the same Certificate Authority (CA) as the server to gain unauthorized access to server-only functionalities within the Raft RPC layer of Nomad.
Questions
What is CVE-2021-37218?
A vulnerability in the Raft RPC layer of HashiCorp Nomad and Nomad Enterprise allows non-server agents with a valid certificate signed by the same CA to access server-only functionality, potentially leading to privilege escalation.
What is the CVSS score for CVE-2021-37218?
CVE-2021-37218 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.7%.
Is CVE-2021-37218 actively exploited?
No confirmed active exploitation of CVE-2021-37218 as of 2026-05-30.
How do I remediate CVE-2021-37218?
Priority: IMMEDIATE. Advisory: https://discuss.hashicorp.com/t/hcsec-2021-21-nomad-raft-rpc-privilege-escalation/29023 PSIRT: [email protected]
What systems are affected by CVE-2021-37218?
CVE-2021-37218 affects Hashicorp Nomad.
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":"Nomad","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 2024-11-21.