The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-22132

CVE-2021-22132: Elasticsearch Information Disclosure Flaw

CVE-2021-22132 is an information disclosure vulnerability in Elastic Elasticsearch's async search API that exposes sensitive HTTP headers. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 25, 2026

CVE-2021-22132 Overview

CVE-2021-22132 is an information disclosure vulnerability affecting Elasticsearch versions 7.7.0 to 7.10.1. The flaw exists in the async search API, which improperly stores HTTP headers when users execute async searches. An Elasticsearch user with read access to the .tasks index could exploit this vulnerability to obtain sensitive request headers belonging to other users in the cluster, potentially exposing authentication tokens, session identifiers, or other confidential data.

Critical Impact

Attackers with limited privileges can access sensitive HTTP headers from other cluster users, potentially leading to credential theft, session hijacking, or further lateral movement within the environment.

Affected Products

  • Elastic Elasticsearch versions 7.7.0 to 7.10.1
  • Oracle Communications Cloud Native Core Automated Test Suite 1.8.0

Discovery Timeline

  • 2021-01-14 - CVE-2021-22132 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-22132

Vulnerability Analysis

This vulnerability stems from improper handling of HTTP request headers within the Elasticsearch async search feature. When a user initiates an async search operation, the system stores task metadata in the internal .tasks index. Due to insufficient data sanitization, sensitive HTTP headers from the original request are persisted alongside the task information. This creates a scenario where any user with read permissions on the .tasks index can access headers that may contain authentication credentials, API keys, or other sensitive information belonging to other users who have executed async searches.

The vulnerability is classified under CWE-522 (Insufficiently Protected Credentials), highlighting that the core issue involves the inadequate protection of sensitive credential information during storage operations.

Root Cause

The root cause lies in the async search API's failure to properly sanitize or exclude sensitive HTTP headers before persisting task information to the .tasks index. The implementation stores the complete request context, including headers that should remain confidential, without appropriate filtering mechanisms. This design oversight allows the headers to be retained in a location accessible to users with read permissions on internal indices.

Attack Vector

The attack requires network access to the Elasticsearch cluster and a user account with read permissions on the .tasks index. The attacker must wait for other users to execute async searches, after which the attacker can query the .tasks index to retrieve stored task metadata containing the victims' HTTP headers.

The exploitation process involves:

  1. The attacker authenticates to the Elasticsearch cluster with credentials that grant read access to the .tasks index
  2. Legitimate users execute async search queries, causing their HTTP headers to be stored
  3. The attacker queries the .tasks index to retrieve task documents
  4. Sensitive headers such as Authorization, X-API-Key, or custom authentication headers are extracted from the stored data

Technical details regarding exploitation can be found in the Elastic Security Update.

Detection Methods for CVE-2021-22132

Indicators of Compromise

  • Unusual read queries targeting the .tasks index from non-administrative users
  • Multiple queries to the .tasks index in a short timeframe from a single source
  • Access patterns to the .tasks index that deviate from normal operational baselines
  • Unauthorized retrieval of task documents containing HTTP header information

Detection Strategies

  • Monitor Elasticsearch audit logs for read operations on the .tasks index by users who typically don't require such access
  • Implement alerting for any direct queries to the .tasks index outside of normal administrative operations
  • Review user permissions to identify accounts with unnecessary access to internal indices
  • Deploy SentinelOne Singularity to detect anomalous data access patterns and potential credential harvesting activities

Monitoring Recommendations

  • Enable Elasticsearch audit logging to capture all index access events
  • Configure alerts for queries targeting internal indices including .tasks, .security, and similar system indices
  • Implement user behavior analytics to identify deviations from normal access patterns
  • Regularly review and audit permissions granted to users on internal Elasticsearch indices

How to Mitigate CVE-2021-22132

Immediate Actions Required

  • Upgrade Elasticsearch to version 7.10.2 or later immediately
  • Audit and restrict read access to the .tasks index to only essential administrative accounts
  • Review audit logs for any suspicious access to the .tasks index that may indicate prior exploitation
  • Rotate any credentials or API keys that may have been exposed through HTTP headers

Patch Information

Elastic has released Elasticsearch version 7.10.2 which addresses this vulnerability. The patch ensures that sensitive HTTP headers are no longer improperly stored when async search operations are executed. Organizations using Oracle Communications Cloud Native Core Automated Test Suite should apply the updates referenced in the Oracle Critical Patch Update April 2022.

Additional technical guidance is available from the NetApp Advisory.

Workarounds

  • Restrict access to the .tasks index by modifying role permissions to limit read access to only trusted administrators
  • Implement network segmentation to limit which systems can query internal Elasticsearch indices
  • Consider disabling the async search feature if it is not required for business operations
  • Apply the principle of least privilege to all Elasticsearch user accounts
bash
# Configuration example - Restrict .tasks index access
# Add to elasticsearch.yml or configure via Kibana role management

# Example role configuration to restrict .tasks access
PUT /_security/role/restricted_user
{
  "cluster": ["monitor"],
  "indices": [
    {
      "names": ["*", "-.*"],
      "privileges": ["read", "write"]
    }
  ]
}

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechElastic Elasticsearch

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.41%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-522
  • Technical References
  • NetApp Advisory NTAP-20210219-0004
  • Vendor Resources
  • Elastic Discuss Security Update

  • Oracle Critical Patch Update April 2022
  • Related CVEs
  • CVE-2024-23444: Elasticsearch Information Disclosure Flaw

  • CVE-2020-7021: Elasticsearch Information Disclosure Flaw

  • CVE-2020-7019: Elasticsearch Information Disclosure Flaw

  • CVE-2024-43709: Elastic Elasticsearch DOS Vulnerability
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