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

CVE-2021-47935: Sentry Sentry RCE Vulnerability

CVE-2021-47935 is a remote code execution vulnerability in Sentry 8.2.0 that allows authenticated superusers to execute arbitrary commands via malicious pickle payloads. This article covers the technical details, impact, and mitigation.

Published: May 18, 2026

CVE-2021-47935 Overview

CVE-2021-47935 is a remote code execution vulnerability in Sentry version 8.2.0. The flaw resides in the admin audit log endpoint, which deserializes attacker-controlled pickle data submitted in the data parameter. Authenticated superusers can submit a crafted POST request containing a base64-encoded, compressed pickle payload to achieve code execution with the application's privileges. The issue is classified as [CWE-94] Improper Control of Generation of Code. Sentry is a widely deployed error tracking and application monitoring platform, making this exposure relevant to engineering and observability stacks.

Critical Impact

Authenticated superusers can execute arbitrary operating system commands on the Sentry host through unsafe pickle deserialization in the audit log data field.

Affected Products

  • Sentry 8.2.0
  • Self-hosted Sentry deployments exposing the admin audit log endpoint
  • Installations granting superuser privileges to multiple operators

Discovery Timeline

  • 2026-05-10 - CVE-2021-47935 published to NVD
  • 2026-05-14 - Last updated in NVD database

Technical Details for CVE-2021-47935

Vulnerability Analysis

The vulnerability stems from the Sentry admin interface processing serialized objects without validating their type or origin. The audit log entry endpoint accepts a data field that the application decodes from base64, decompresses, and passes to Python's pickle.loads(). Pickle deserialization in Python executes the __reduce__ method of any class encountered in the stream, which attackers can weaponize to invoke arbitrary callables such as os.system or subprocess.Popen. Because the endpoint is reached by an authenticated superuser session, exploitation requires valid administrative credentials but no further user interaction. Successful exploitation results in command execution under the Sentry application service account, granting access to configuration, secrets, and connected data sources.

Root Cause

The root cause is unsafe use of Python's pickle module on attacker-influenced input. Pickle is not a safe parser for untrusted data because it permits arbitrary object construction during deserialization. Sentry's audit log handler trusted the encoded data payload submitted through the admin POST request and reconstructed objects without applying a safe loader, allowlist, or alternative serializer such as JSON.

Attack Vector

An attacker who has obtained Sentry superuser credentials submits a POST request to the admin audit log endpoint. The request body contains the malicious payload in the data field, encoded as base64 over a zlib-compressed pickle stream. When the server processes the audit entry, deserialization triggers the embedded callable and the supplied shell command runs on the host. Refer to the Vulncheck Sentry RCE Advisory and Exploit-DB #50318 for the technical writeup.

No verified exploit code is reproduced here. The referenced advisory describes the payload structure: a Python class implementing __reduce__ that returns a tuple of (os.system, ('command',)), pickled with pickle.dumps, compressed with zlib.compress, and base64-encoded before being placed in the data POST parameter.

Detection Methods for CVE-2021-47935

Indicators of Compromise

  • POST requests to Sentry admin audit log endpoints containing large base64-encoded values in the data parameter
  • Child processes spawned by the Sentry application worker that are inconsistent with normal operation, such as sh, bash, curl, or wget
  • Outbound network connections initiated by Sentry workers to unfamiliar hosts shortly after admin audit log activity
  • Unexpected modifications to files writable by the Sentry service account

Detection Strategies

  • Inspect web server and application logs for admin audit log POST requests with payload sizes that exceed normal audit entries
  • Correlate authenticated superuser sessions with subsequent process execution events on the Sentry host
  • Flag any invocation of pickle.loads against externally sourced data through application-level logging or runtime hooks

Monitoring Recommendations

  • Forward Sentry application and reverse proxy logs to a centralized analytics platform for retention and correlation
  • Enable process execution telemetry on Sentry hosts to surface anomalous child processes of the application runtime
  • Alert on new outbound connections from Sentry workers to destinations outside the documented integration list

How to Mitigate CVE-2021-47935

Immediate Actions Required

  • Upgrade Sentry from 8.2.0 to a release that eliminates pickle deserialization on the audit log endpoint
  • Audit the superuser account list and revoke privileges from accounts that do not require administrative access
  • Rotate Sentry API tokens, signing secrets, and database credentials accessible from the application host if compromise is suspected
  • Restrict network reachability of the Sentry admin interface to trusted management networks only

Patch Information

Upgrade to a Sentry release later than 8.2.0 that replaces pickle deserialization with a safe serializer. Consult the Vulncheck Sentry RCE Advisory and the Sentry project site for current supported versions and upgrade guidance. Self-hosted operators should review release notes for security fixes affecting the admin audit log handler.

Workarounds

  • Place the Sentry admin interface behind a VPN or zero-trust gateway to block unauthenticated network reach
  • Enforce multi-factor authentication on all superuser accounts to raise the cost of credential compromise
  • Run the Sentry application under a least-privilege service account with restricted file system and outbound network permissions
  • Monitor and rate-limit POST requests to admin endpoints at the reverse proxy to surface exploitation attempts
bash
# Example reverse proxy restriction limiting admin access to a management CIDR
location /manage/ {
    allow 10.10.0.0/24;
    deny all;
    proxy_pass http://sentry_upstream;
}

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechSentry

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.42%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • Sentry Welcome Page

  • Exploit-DB #50318

  • Vulncheck Sentry RCE Advisory
  • Related CVEs
  • CVE-2026-42354: Sentry SAML SSO Auth Bypass Vulnerability

  • CVE-2026-40337: Sentry Kernel DoS Vulnerability

  • CVE-2026-26004: Sentry IDOR Auth Bypass Vulnerability

  • CVE-2026-27197: Sentry SAML SSO Auth Bypass 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