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-2020-7019

CVE-2020-7019: Elasticsearch Information Disclosure Flaw

CVE-2020-7019 is an information disclosure vulnerability in Elastic Elasticsearch affecting versions before 7.9.0 and 6.8.12. This article covers the technical details, affected versions, security impact, and mitigation.

Published: March 4, 2026

CVE-2020-7019 Overview

CVE-2020-7019 is a field disclosure vulnerability affecting Elasticsearch versions prior to 7.9.0 and 6.8.12. The flaw occurs when running a scrolling search with Field Level Security (FLS) enabled. If a less privileged user executes the same query that a more privileged user recently ran, the scrolling search can inadvertently leak fields that should be restricted from the lower-privileged user's view. This information disclosure vulnerability could allow an attacker to gain unauthorized access to sensitive data in restricted indices.

Critical Impact

Attackers with lower privileges can potentially access restricted fields in Elasticsearch indices by exploiting cached scrolling search results, effectively bypassing Field Level Security controls and gaining access to sensitive data they should not be authorized to view.

Affected Products

  • Elastic Elasticsearch versions prior to 7.9.0
  • Elastic Elasticsearch versions prior to 6.8.12

Discovery Timeline

  • 2020-08-18 - CVE-2020-7019 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-7019

Vulnerability Analysis

This vulnerability is classified under CWE-270 (Privilege Context Switching Error) and CWE-269 (Improper Privilege Management). The flaw exists in how Elasticsearch handles Field Level Security during scrolling search operations.

When Elasticsearch executes a scrolling search, it maintains a search context to allow pagination through large result sets. The vulnerability arises because the field-level security filtering is not properly reapplied when a cached scroll context is reused. If a privileged user initiates a scrolling search that includes restricted fields, and a less privileged user subsequently executes the same query, the scroll context may return fields that should be filtered out based on the second user's permissions.

The attack requires network access and valid authentication credentials, but only low-level privileges are needed. The vulnerability does not affect data integrity or system availability but poses a significant confidentiality risk for organizations relying on Field Level Security to protect sensitive data within their Elasticsearch indices.

Root Cause

The root cause of CVE-2020-7019 lies in improper privilege context management during scrolling search operations. Elasticsearch's Field Level Security mechanism failed to properly re-evaluate field-level permissions when scroll contexts were accessed by different users. The scroll context retained field visibility settings from the original query creator rather than applying the permissions of the current user accessing the scroll results.

Attack Vector

The attack vector is network-based and requires the attacker to have valid, albeit low-privileged, credentials to the Elasticsearch cluster. The exploitation scenario involves:

  1. A privileged user executes a scrolling search query against an index with Field Level Security configured
  2. The scroll context is cached with full field visibility based on the privileged user's permissions
  3. A less privileged attacker executes an identical scrolling search query
  4. The attacker's query reuses the cached scroll context, bypassing Field Level Security checks
  5. The attacker receives fields in the response that should be hidden based on their actual permissions

The vulnerability requires no user interaction and can be exploited remotely. The attacker does not need knowledge of the privileged user's query timing, only the ability to execute similar scrolling searches against protected indices.

Detection Methods for CVE-2020-7019

Indicators of Compromise

  • Unusual scrolling search activity from lower-privileged user accounts accessing restricted indices
  • Multiple users executing identical scrolling search queries within short time windows
  • Audit logs showing field access patterns inconsistent with user permission levels
  • Unexpected data access patterns in Field Level Security-protected indices

Detection Strategies

  • Enable Elasticsearch audit logging to track scrolling search operations and compare user permissions against accessed fields
  • Monitor for duplicate or near-duplicate scrolling search queries from users with different privilege levels
  • Implement alerting on scrolling search operations targeting sensitive indices from users who should not have access to certain fields
  • Review Elasticsearch slow logs for patterns of repeated queries that could indicate exploitation attempts

Monitoring Recommendations

  • Configure Elasticsearch security audit logging at the ACCESS_GRANTED and ACCESS_DENIED levels
  • Deploy SIEM rules to correlate scrolling search activities across users with different privilege levels
  • Establish baseline behavior for scrolling search usage patterns per user role
  • Monitor network traffic to Elasticsearch clusters for unusual _search/scroll API requests

How to Mitigate CVE-2020-7019

Immediate Actions Required

  • Upgrade Elasticsearch to version 7.9.0 or later for the 7.x branch
  • Upgrade Elasticsearch to version 6.8.12 or later for the 6.x branch
  • Review audit logs for potential exploitation prior to patching
  • Assess whether sensitive data may have been exposed through this vulnerability

Patch Information

Elastic has addressed this vulnerability in Elasticsearch versions 7.9.0 and 6.8.12. Organizations should upgrade to these versions or later as soon as possible. Detailed information about the security update is available in the Elastic Security Update Discussion. Additional advisory information is available from NetApp Security Advisory NTAP-20200827-0001.

Workarounds

  • Limit scrolling search capabilities for lower-privileged users until patching is complete
  • Review and restrict access to indices containing sensitive data protected by Field Level Security
  • Implement additional application-level access controls to validate user permissions before returning sensitive fields
  • Consider temporarily disabling scrolling search functionality for sensitive indices if patching cannot be performed immediately
bash
# Configuration example - Restrict scroll context settings in elasticsearch.yml
# Reduce scroll context lifetime to minimize exploitation window
search.max_open_scroll_context: 500
search.default_keep_alive: "5m"
search.max_keep_alive: "10m"

# Enable comprehensive audit logging
xpack.security.audit.enabled: true
xpack.security.audit.logfile.events.include: ["access_granted", "access_denied", "authentication_failed"]

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 Score6.5

  • EPSS Probability0.11%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-270

  • CWE-269
  • Technical References
  • NetApp Security Advisory NTAP-20200827-0001
  • Vendor Resources
  • Elastic Security Update Discussion
  • Related CVEs
  • CVE-2024-23444: Elasticsearch Information Disclosure Flaw

  • CVE-2021-22132: Elasticsearch Information Disclosure Flaw

  • CVE-2020-7021: 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