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-30657

CVE-2021-30657: Apple macOS Gatekeeper Bypass Vulnerability

CVE-2021-30657 is a Gatekeeper bypass flaw in Apple macOS that allows malicious applications to evade security checks. This post covers the technical details, affected macOS versions, real-world impact, and mitigation.

Updated: May 16, 2026

CVE-2021-30657 Overview

CVE-2021-30657 is a logic flaw in macOS that allows a malicious application to bypass Gatekeeper, the operating system's primary code-signing and notarization enforcement layer. Apple addressed the issue with improved state management in macOS Big Sur 11.3 and Security Update 2021-002 for Catalina. Apple acknowledged reports that the flaw was actively exploited in the wild before the patch shipped, and CISA has since added it to the Known Exploited Vulnerabilities (KEV) catalog. The weakness maps to [CWE-862] (Missing Authorization) and enables user-assisted execution of unsigned or unnotarized payloads with the integrity of the macOS trust model effectively neutralized.

Critical Impact

A crafted application bundle can execute on macOS without triggering Gatekeeper prompts, notarization checks, or quarantine warnings, exposing endpoints to malware delivered through routine user actions.

Affected Products

  • Apple macOS Big Sur prior to 11.3
  • Apple macOS Catalina prior to Security Update 2021-002
  • Apple macOS 10.15.6 and 10.15.7 (including supplemental and security updates 2020 through 2020-007)

Discovery Timeline

  • 2021-09-08 - CVE-2021-30657 published to NVD
  • 2025-10-23 - Last updated in NVD database

Technical Details for CVE-2021-30657

Vulnerability Analysis

The vulnerability resides in macOS logic that evaluates application bundles before execution. Gatekeeper normally validates code signatures, notarization tickets, and quarantine attributes before allowing user-launched applications to run. A state-management defect in this evaluation path allowed specially crafted bundles to be treated as trusted, skipping the policy checks that should have blocked them. The flaw classifies as a business logic and authorization weakness rather than memory corruption, which is why it carries a local attack vector with user interaction but high integrity impact.

Exploitation is user-assisted: a victim must launch the malicious application. However, because the bundle bypasses Gatekeeper, the user receives none of the standard warnings, prompts, or notarization errors that typically accompany unsigned code. From the user's perspective, the application appears legitimate.

Root Cause

The underlying defect is improper state management in the policy decision logic that determines whether an application bundle is subject to Gatekeeper enforcement. Specific bundle structures caused macOS to misclassify the executable, omitting calls to the assessment subsystem responsible for code signing and notarization validation. Apple's fix tightens state tracking so all qualifying bundles are routed through the assessment policy regardless of structural variations.

Attack Vector

Attack delivery typically relies on social engineering. Operators distribute a malformed application bundle through phishing links, watering-hole sites, or trojanized software pages. Once the user opens the bundle from Finder or via a LaunchServices invocation, the malicious payload executes without quarantine prompts. The Shlayer adware family was publicly reported to weaponize this flaw to install second-stage malware on unpatched macOS systems.

No verified public proof-of-concept code is referenced in the available advisories. See Apple Security Advisory HT212325 and Apple Security Advisory HT212326 for vendor technical detail.

Detection Methods for CVE-2021-30657

Indicators of Compromise

  • Application bundles executing from ~/Downloads, /tmp, or /private/tmp without an associated com.apple.quarantine extended attribute
  • spctl --assess returning success on binaries that lack valid Developer ID signatures or notarization tickets
  • Child processes spawning from applications that were never registered with LaunchServices through normal install flows
  • Known Shlayer payload artifacts dropped under ~/Library/LaunchAgents or ~/Library/Application Support

Detection Strategies

  • Monitor xattr activity for the absence or stripping of com.apple.quarantine on freshly downloaded executables
  • Alert on syspolicyd and XprotectService log entries indicating bypassed or skipped assessments
  • Correlate browser or mail-client downloads with subsequent exec events of unsigned Mach-O binaries
  • Hunt for application bundles whose Info.plist or directory layout deviates from standard Apple bundle conventions

Monitoring Recommendations

  • Centralize macOS Unified Logs (log collect) and forward syspolicyd, amfid, and kext telemetry to your SIEM
  • Track macOS build versions across the fleet and flag endpoints still running Big Sur below 11.3 or Catalina without Security Update 2021-002
  • Baseline approved code-signing identities and alert on first-seen Team IDs executing from user-writable directories

How to Mitigate CVE-2021-30657

Immediate Actions Required

  • Upgrade all macOS Big Sur endpoints to 11.3 or later and apply Security Update 2021-002 to macOS Catalina hosts
  • Audit endpoints for execution of unsigned binaries from user directories during the exposure window
  • Restrict installation privileges so standard users cannot launch arbitrary downloaded application bundles
  • Validate that EDR and management tooling enforce macOS patch SLAs given CISA KEV listing

Patch Information

Apple released fixes in macOS Big Sur 11.3 and Security Update 2021-002 Catalina. Refer to Apple Security Advisory HT212325 for Big Sur and Apple Security Advisory HT212326 for Catalina. CISA tracking is available in the CISA Known Exploited Vulnerabilities catalog entry for CVE-2021-30657.

Workarounds

  • No vendor-supplied workaround exists; patching is the only supported remediation
  • Enforce application allowlisting through MDM configuration profiles to limit execution to known Developer IDs
  • Disable user override of Gatekeeper via spctl and require administrator approval for non-App Store applications
bash
# Verify patched macOS version and Gatekeeper assessment state
sw_vers -productVersion
spctl --status
spctl --assess --verbose=4 /Applications/Suspect.app

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechApple Mac Os X

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability83.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • NVD-CWE-noinfo

  • CWE-862
  • Technical References
  • CISA Known Exploited Vulnerabilities CVE-2021-30657
  • Vendor Resources
  • Apple Security Advisory HT212325

  • Apple Security Advisory HT212326
  • Related CVEs
  • CVE-2021-30713: Apple macOS Big Sur Privacy Bypass Flaw

  • CVE-2022-22583: Apple macOS Information Disclosure Flaw

  • CVE-2020-3882: Apple macOS Information Disclosure Flaw
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