Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2021-37219

CVE-2021-37219: HashiCorp Consul Privilege Escalation Flaw

CVE-2021-37219 is a privilege escalation vulnerability in HashiCorp Consul's Raft RPC layer. Non-server agents can exploit this flaw to access server-only functionality. This article covers technical details, affected versions, and mitigations.

Published: February 25, 2026

CVE-2021-37219 Overview

HashiCorp Consul and Consul Enterprise version 1.10.1 contain a privilege escalation vulnerability in the Raft RPC layer. The vulnerability allows non-server agents with a valid certificate signed by the same Certificate Authority (CA) to access server-only functionality, enabling unauthorized privilege escalation within the Consul cluster.

Critical Impact

Attackers with access to a valid client certificate can escalate privileges to server-level access, potentially compromising the entire Consul cluster and the secrets it manages.

Affected Products

  • HashiCorp Consul (versions prior to 1.8.15, 1.9.9, and 1.10.2)
  • HashiCorp Consul Enterprise (versions prior to 1.8.15, 1.9.9, and 1.10.2)

Discovery Timeline

  • 2021-09-07 - CVE-2021-37219 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-37219

Vulnerability Analysis

This vulnerability exists in the Raft RPC layer of HashiCorp Consul, which is responsible for managing consensus and replication across server nodes in a Consul cluster. The Raft protocol is fundamental to Consul's distributed architecture, handling leader election and ensuring data consistency across the cluster.

The security flaw stems from improper certificate validation (CWE-295) where the Raft RPC layer fails to adequately distinguish between server and non-server agents during authentication. When a non-server agent presents a certificate signed by the same CA that the Consul cluster trusts, the Raft RPC layer incorrectly grants access to server-only functionality.

This architectural weakness allows an attacker who has compromised a Consul client agent or obtained a valid client certificate to escalate their privileges to those of a server node. With server-level access, an attacker could manipulate cluster state, access sensitive configuration data, or disrupt service discovery operations.

Root Cause

The root cause is improper certificate validation (CWE-295) in the Raft RPC layer. The authentication mechanism validates that a certificate is signed by a trusted CA but does not properly verify whether the certificate holder is authorized to perform server-specific operations. This creates an authorization bypass where possession of any valid certificate implies server-level trust.

Attack Vector

The attack is network-based and requires the attacker to possess a valid certificate signed by the same Certificate Authority used by the Consul cluster. The attacker must be able to reach the Raft RPC endpoints on Consul server nodes.

The exploitation flow involves the following steps:

  1. The attacker obtains or generates a certificate signed by the Consul cluster's trusted CA
  2. Using this certificate, the attacker connects to a Consul server's Raft RPC endpoint
  3. The Raft RPC layer validates the certificate signature but fails to verify server authorization
  4. The attacker gains access to server-only functionality, achieving privilege escalation

This vulnerability requires low privileges (a valid client certificate) and no user interaction. The impact is significant as it can result in high confidentiality, integrity, and availability impact to the Consul cluster.

Detection Methods for CVE-2021-37219

Indicators of Compromise

  • Unexpected Raft RPC connections from non-server IP addresses or agent identities
  • Authentication logs showing client certificates accessing server-only Raft endpoints
  • Anomalous cluster membership changes or leader election events
  • Unusual administrative operations performed by non-server agents

Detection Strategies

  • Monitor Raft RPC connection logs for connections originating from known client-only agents
  • Implement network segmentation alerting for traffic to Raft RPC ports (default 8300) from non-server sources
  • Review certificate issuance logs for any unexpected certificate requests or generations
  • Deploy runtime application security monitoring to detect anomalous Consul API patterns

Monitoring Recommendations

  • Enable verbose logging on Consul servers to capture all Raft RPC authentication events
  • Configure SIEM rules to correlate certificate authentication with agent type mismatches
  • Monitor for configuration changes or ACL modifications performed outside normal administrative workflows
  • Implement alerting on any server-only operations initiated by non-server identities

How to Mitigate CVE-2021-37219

Immediate Actions Required

  • Upgrade HashiCorp Consul to version 1.8.15, 1.9.9, or 1.10.2 or later immediately
  • Audit certificate issuance to ensure only authorized server nodes have received server certificates
  • Review network access controls to limit Raft RPC port access (default 8300) to known server nodes only
  • Enable Consul audit logging if not already active to capture administrative operations

Patch Information

HashiCorp has released patched versions that address this vulnerability. Users should upgrade to the following fixed versions:

  • Version 1.8.x: Upgrade to 1.8.15 or later
  • Version 1.9.x: Upgrade to 1.9.9 or later
  • Version 1.10.x: Upgrade to 1.10.2 or later

For detailed patch information, refer to the HashiCorp Security Advisory HCSEC-2021-22.

Workarounds

  • Implement strict network segmentation to restrict Raft RPC port (8300) access exclusively to server nodes
  • Use firewall rules to prevent client agents from connecting to server Raft RPC endpoints
  • Rotate CA certificates and revoke any potentially compromised client certificates
  • Deploy separate CAs for server and client certificates where possible to enforce authorization boundaries
bash
# Example: Firewall rule to restrict Raft RPC access (iptables)
# Allow only known server IPs to access Raft RPC port
iptables -A INPUT -p tcp --dport 8300 -s <SERVER_IP_1> -j ACCEPT
iptables -A INPUT -p tcp --dport 8300 -s <SERVER_IP_2> -j ACCEPT
iptables -A INPUT -p tcp --dport 8300 -s <SERVER_IP_3> -j ACCEPT
iptables -A INPUT -p tcp --dport 8300 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechHashicorp Consul

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.43%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-295
  • Technical References
  • Gentoo GLSA 202207-01
  • Vendor Resources
  • HashiCorp Security Advisory

  • HashiCorp Consul Blog Posts
  • Related CVEs
  • CVE-2021-41803: HashiCorp Consul Auth Bypass Vulnerability

  • CVE-2024-10086: HashiCorp Consul XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English