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
    • 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-24027

CVE-2021-24027: WhatsApp Information Disclosure Flaw

CVE-2021-24027 is an information disclosure vulnerability in WhatsApp for Android that exposed cached TLS material to unauthorized parties with device access. This article covers technical details, affected versions, and fixes.

Published: February 25, 2026

CVE-2021-24027 Overview

A cache configuration vulnerability exists in WhatsApp for Android and WhatsApp Business for Android that allows unauthorized access to cached TLS material. The issue stems from improper handling of sensitive cryptographic data stored on external storage, which can be accessed by third-party applications with storage permissions on the device.

Critical Impact

A third party with access to the device's external storage can read cached TLS material, potentially compromising the confidentiality of encrypted communications.

Affected Products

  • WhatsApp for Android versions prior to v2.21.4.18
  • WhatsApp Business for Android versions prior to v2.21.4.18

Discovery Timeline

  • April 6, 2021 - CVE-2021-24027 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-24027

Vulnerability Analysis

This vulnerability is classified under CWE-524 (Use of Cache Containing Sensitive Information), indicating that the application improperly stores sensitive cryptographic material in a location accessible to other applications. On Android devices, external storage is a shared resource that can be accessed by any application granted the READ_EXTERNAL_STORAGE permission.

The core issue lies in WhatsApp's cache configuration for TLS-related data. Rather than storing this sensitive information in the application's private internal storage directory (which is sandboxed and protected by Android's security model), the cached TLS material was placed on external storage where it could be read by malicious applications or users with physical device access.

Root Cause

The root cause is an insecure data storage configuration where TLS session data and related cryptographic material were cached to the device's external storage. Android's security architecture provides strong isolation for data stored in an application's internal data directory (/data/data/<package_name>/), but external storage (/sdcard/ or /storage/emulated/0/) is accessible to any application with appropriate storage permissions. This misconfiguration allowed sensitive TLS caching data to be exposed beyond the intended application boundary.

Attack Vector

The attack requires an adversary to either have physical access to the target device or deploy a malicious application that has been granted external storage read permissions. Once access is obtained, the attacker can navigate to WhatsApp's cache directory on external storage and extract the cached TLS material. This information could potentially be leveraged to:

  • Decrypt previously captured TLS-encrypted traffic
  • Perform session hijacking attacks
  • Gain insights into the encryption mechanisms used by the application
  • Facilitate man-in-the-middle attacks by understanding the TLS session parameters

The attack can be executed remotely through a malicious application installed on the victim's device, or locally by an attacker with physical access to an unlocked device or one with USB debugging enabled.

Detection Methods for CVE-2021-24027

Indicators of Compromise

  • Unusual file access patterns to WhatsApp's external storage cache directories
  • Applications with READ_EXTERNAL_STORAGE permission accessing WhatsApp-related files
  • Suspicious processes reading from /storage/emulated/0/Android/data/com.whatsapp/ or similar paths
  • Unexpected data exfiltration from mobile devices to external endpoints

Detection Strategies

  • Monitor for applications requesting and using storage permissions to access other application directories
  • Implement mobile threat detection solutions that identify apps attempting to read sensitive data from other application caches
  • Use behavioral analysis to detect applications exhibiting reconnaissance behavior on external storage
  • Deploy endpoint detection and response (EDR) solutions with mobile device visibility

Monitoring Recommendations

  • Enable logging for file system access events on Android devices through mobile device management (MDM) solutions
  • Implement network traffic analysis to detect potential exfiltration of cryptographic material
  • Monitor for the installation of applications with suspicious storage permission requests
  • Review application permission grants periodically on enterprise-managed devices

How to Mitigate CVE-2021-24027

Immediate Actions Required

  • Update WhatsApp for Android to version 2.21.4.18 or later immediately
  • Update WhatsApp Business for Android to version 2.21.4.18 or later
  • Review installed applications on affected devices for suspicious storage permission grants
  • Consider clearing WhatsApp cache data after updating to remove potentially exposed material

Patch Information

WhatsApp has addressed this vulnerability in version 2.21.4.18 for both WhatsApp and WhatsApp Business for Android. The fix ensures that sensitive TLS material is properly stored in the application's private internal storage directory, which is protected by Android's application sandbox security model. Users should update to the patched versions through the Google Play Store or official WhatsApp download channels.

For detailed information, refer to the WhatsApp Security Advisory.

Workarounds

  • Restrict installation of untrusted applications that request storage permissions
  • Implement enterprise mobile device management (MDM) policies to control application permissions
  • Enable Android's scoped storage features on Android 10+ devices to limit application access to external storage
  • Regularly clear application caches and external storage data
  • Use device encryption to protect data at rest on external storage
bash
# Verify WhatsApp version on Android (ADB command)
adb shell dumpsys package com.whatsapp | grep versionName
# Expected output for patched version: versionName=2.21.4.18 or higher

# Check WhatsApp Business version
adb shell dumpsys package com.whatsapp.w4b | grep versionName

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechWhatsapp

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability8.69%

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

  • NVD-CWE-noinfo
  • Vendor Resources
  • WhatsApp Security Advisory
  • Related CVEs
  • CVE-2026-23866: WhatsApp SSRF Vulnerability in iOS/Android

  • CVE-2026-23863: WhatsApp for Windows RCE Vulnerability

  • CVE-2025-55177: WhatsApp Authorization Bypass Vulnerability

  • CVE-2025-30401: WhatsApp for Windows RCE 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