A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2026-47161

CVE-2026-47161: RELATE LMS RCE Vulnerability

CVE-2026-47161 is a remote code execution flaw in RELATE LMS caused by unsafe pickle deserialization in Celery workers. Authenticated attackers can execute arbitrary commands on the host. This article covers technical details, affected versions, impact, and mitigation.

Published: May 28, 2026

CVE-2026-47161 Overview

CVE-2026-47161 is an insecure deserialization vulnerability [CWE-502] in RELATE, a web-based courseware package used as a learning management system (LMS). Prior to commit d66ba5659b459bf1ba56b7109b5f9ecf197cbefb, RELATE configures its Celery workers to accept and deserialize untrusted pickle data from the message broker. An attacker who can reach the broker can execute arbitrary commands on the host server. Combined with missing network isolation in the code execution sandbox, an authenticated student can chain this flaw into full Remote Code Execution (RCE) on the host system.

Critical Impact

An authenticated student can pivot from the in-app code execution sandbox to the Celery broker and execute arbitrary commands on the RELATE host through unsafe pickle deserialization.

Affected Products

  • RELATE LMS (inducer/relate) at commits prior to d66ba5659b459bf1ba56b7109b5f9ecf197cbefb
  • Deployments using Celery workers with the default CELERY_ACCEPT_CONTENT configuration
  • Instances where the code execution sandbox lacks network isolation from the message broker

Discovery Timeline

  • 2026-05-27 - CVE-2026-47161 published to the National Vulnerability Database (NVD)
  • 2026-05-27 - Last updated in NVD database

Technical Details for CVE-2026-47161

Vulnerability Analysis

RELATE uses Celery for asynchronous task execution and routes tasks through a message broker. The application sets CELERY_ACCEPT_CONTENT = ["pickle", "json"], instructing workers to deserialize incoming task payloads using Python's pickle module. Python pickle is not a safe serialization format because deserialization can instantiate arbitrary objects and invoke arbitrary callables. Any actor capable of publishing messages to the broker can therefore trigger code execution inside the worker process.

The second weakness is the lack of network isolation around RELATE's code execution sandbox, which is intended to grade student-submitted code. Because sandboxed code can reach the broker on the network, an authenticated student can craft a pickle payload from within the sandbox and submit it to the worker queue. The worker deserializes the payload and executes attacker-controlled commands with the privileges of the RELATE service account.

Root Cause

The root cause is the explicit acceptance of the pickle content type for Celery task messages in relate/settings.py. This is compounded by trusting broker-supplied messages and by an unisolated sandbox that allows authenticated users to reach the broker.

Attack Vector

The attack is network reachable and requires only low-privilege authenticated access. A student account submits Python code to the grading sandbox. That code opens a connection to the Celery broker (for example, AMQP) and publishes a task message with a malicious pickle payload. A worker consumes the message, deserializes the payload, and runs arbitrary commands on the RELATE host.

python
# Security patch in relate/settings.py - Celery: don't accept pickle tasks
     CELERY_BROKER_URL = "amqp://"

-CELERY_ACCEPT_CONTENT = ["pickle", "json"]
+CELERY_ACCEPT_CONTENT = ["json"]
 CELERY_TASK_SERIALIZER = "json"
 # (pickle is buggy in django-celery-results 1.0.1)
 # https://github.com/celery/django-celery-results/issues/50

Source: GitHub Commit d66ba5659b459bf1ba56b7109b5f9ecf197cbefb

Detection Methods for CVE-2026-47161

Indicators of Compromise

  • Outbound connections from the RELATE code execution sandbox to the Celery broker port (default AMQP 5672)
  • Celery worker processes spawning unexpected child processes such as sh, bash, python, or curl
  • Broker messages with content-type: application/x-python-serialize originating from non-RELATE producers
  • Unexpected modifications under the RELATE installation directory or service account home directory

Detection Strategies

  • Inspect the running RELATE configuration for CELERY_ACCEPT_CONTENT and flag any value containing pickle
  • Monitor Celery worker process trees for execution of shell utilities or interpreters outside the normal task graph
  • Alert on inbound broker connections originating from sandbox network namespaces or container IPs

Monitoring Recommendations

  • Enable broker-side authentication logging and audit which identities publish to Celery task queues
  • Forward RELATE, Celery, and broker logs to a centralized analytics platform for correlation across grading events and worker activity
  • Track the deployed RELATE git commit hash and alert when it lags behind d66ba5659b459bf1ba56b7109b5f9ecf197cbefb

How to Mitigate CVE-2026-47161

Immediate Actions Required

  • Update RELATE to a revision that includes commit d66ba5659b459bf1ba56b7109b5f9ecf197cbefb
  • Restrict the Celery broker to bind to localhost or a private management network only
  • Block egress from the code execution sandbox to the broker host and port at the network layer
  • Rotate credentials and review worker hosts for signs of prior exploitation before returning to production

Patch Information

The fix is included in RELATE commit d66ba5659b459bf1ba56b7109b5f9ecf197cbefb, which removes pickle from CELERY_ACCEPT_CONTENT so that workers accept only JSON-serialized tasks. See the GitHub Security Advisory GHSA-4mwh-mwv4-m252 for advisory details and the upstream commit for the code change.

Workarounds

  • Override CELERY_ACCEPT_CONTENT in local settings to ["json"] and set CELERY_TASK_SERIALIZER = "json" until the patch can be deployed
  • Place the Celery broker behind a firewall rule that only permits the RELATE web tier and worker hosts
  • Run the grading sandbox in a network namespace or container with no route to the broker subnet
bash
# Configuration example: enforce JSON-only Celery payloads in local_settings.py
CELERY_ACCEPT_CONTENT = ["json"]
CELERY_TASK_SERIALIZER = "json"
CELERY_RESULT_SERIALIZER = "json"

# Restrict broker exposure (RabbitMQ example)
# /etc/rabbitmq/rabbitmq.conf
listeners.tcp.local = 127.0.0.1:5672

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechRelate

  • SeverityHIGH

  • CVSS Score8.7

  • 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-502
  • Technical References
  • GitHub Commit Details

  • GitHub Security Advisory GHSA-4mwh-mwv4-m252
  • Latest CVEs
  • CVE-2026-49199: Acer Predator Connect W6x Firmware RCE Flaw

  • CVE-2026-46344: Openquantumsafe Liboqs DOS Vulnerability

  • CVE-2026-44518: Openquantumsafe Liboqs DoS Vulnerability

  • CVE-2026-42951: MacGregor VDR Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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