Skip to main content

RELATE LMS CVE-2026-47161

| EUVDEUVD-2026-32628 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-05-27 GitHub_M
8.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as enrolled student
  2. Delivery
    Reach Celery broker via non-isolated sandbox
  3. Exploit
    Enqueue malicious pickle payload
  4. Execution
    Worker deserializes untrusted pickle
  5. Persist
    Execute arbitrary commands
  6. Impact
    Full RCE on host server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated RELATE account at student privilege level (CVSS PR:L) and a deployment where the code-execution sandbox lacks network isolation, allowing the student to reach the Celery message broker; the vulnerable configuration is the default CELERY_ACCEPT_CONTENT = ["pickle", "json"] present before commit d66ba5659b459bf1ba56b7109b5f9ecf197cbefb. The key limiting factors are that the attacker must hold a valid login (not fully unauthenticated) and must be able to route to the broker - if the sandbox is properly network-isolated or the broker is firewalled off from student-reachable hosts, the chain is broken even on unpatched code. No special non-default feature toggle is needed beyond the shipped pickle-accepting Celery configuration.

Impact

The CVSS 4.0 base score is 8.7 (High) with vector AV:N/AC:L/AT:N/PR:L/UI:N and high confidentiality, integrity, and availability impact (VC:H/VI:H/VA:H), indicating a network-reachable, low-complexity, no-interaction flaw requiring only low privileges. The PR:L value matches the description: an authenticated student account is the entry point, which somewhat constrains the attacker pool to provisioned users but is still a low bar in an LMS where student enrollment is routine. Exploit maturity is undefined (E:X), and no EPSS score, KEV listing, or public POC was provided in the input, so exploitation probability cannot be quantified and there is no public exploit identified at time of analysis. The realistic severity is meaningfully amplified by the chained sandbox weakness - missing network isolation in the code-execution sandbox is what lets a student reach the broker at all - so this should be treated as a genuine priority for any deployment exposing student code submission, not merely a high-CVSS-but-theoretical issue. EPSS data is absent and should be checked before final prioritization.

Exploit ScenarioDerived

An enrolled student submits code through RELATE's execution feature and, because the sandbox is not network-isolated, opens a connection to the Celery message broker. They enqueue a message serialized as a malicious pickle object whose deserialization invokes a system command; when a worker picks up the task, the payload runs and the attacker gains command execution on the host. No public POC was provided, but the low attack complexity (AC:L) and lack of required user interaction make reliable exploitation straightforward for any authenticated student.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 27, 2026

Remote code execution in RELATE LMS (the inducer/relate web courseware platform) stems from its Celery task queue being configured to accept and unpickle untrusted messages (CELERY_ACCEPT_CONTENT included "pickle"). Because the code-execution sandbox lacks network isolation, an authenticated student can reach the message broker and deliver a malicious pickle payload that the worker deserializes, yielding arbitrary command execution on the host. No public exploit identified at time of analysis; the issue is corrected in commit d66ba5659b459bf1ba56b7109b5f9ecf197cbefb.

RemediationAI

Upstream fix available (commit); released patched version not independently confirmed - update RELATE to a build that includes commit d66ba5659b459bf1ba56b7109b5f9ecf197cbefb (https://github.com/inducer/relate/commit/d66ba5659b459bf1ba56b7109b5f9ecf197cbefb), which sets CELERY_ACCEPT_CONTENT to ["json"] only, and review the advisory GHSA-4mwh-mwv4-m252 for guidance. If you cannot deploy immediately, the highest-value compensating control is to override CELERY_ACCEPT_CONTENT to ["json"] in your own settings (and ensure task producers serialize with JSON), which directly removes the pickle deserialization path with the side effect of breaking any task that relied on pickle-only payloads such as complex Python objects. Additionally, restore network isolation around the code-execution sandbox so student-submitted code cannot reach the broker host/port, and place the Celery broker (Redis/RabbitMQ) on an isolated network segment with authentication enabled and firewall rules blocking access from sandbox and untrusted networks; the trade-off is added deployment complexity and the need to verify legitimate workers retain connectivity.

Affected VersionsENISA

relate < d66ba5659b459bf1ba56b7109b5f9ecf197cbefb

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

RELATE is a Django-based learning management and courseware system that offloads asynchronous work to Celery workers backed by a message broker (typically Redis or RabbitMQ). The root cause is CWE-502 (Deserialization of Untrusted Data): the setting CELERY_ACCEPT_CONTENT was ["pickle", "json"], allowing workers to accept Python pickle-serialized messages. Pickle deserialization is inherently unsafe because crafted pickle streams can invoke arbitrary callables (e.g., via __reduce__) during loading, turning any party who can place messages on the broker into a code executor. The affected component per CPE is cpe:2.3:a:inducer:relate, and the fix narrows accepted content types to JSON only, eliminating the dangerous pickle deserialization path.

Know when Relate gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.7 HIGH
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

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
May 27, 2026 - 20:22 NVD
8.7 (HIGH)

DescriptionCVE.org

RELATE is a web-based courseware package. Prior to commit d66ba5659b459bf1ba56b7109b5f9ecf197cbefb, RELATE LMS configures its Celery workers to accept and deserialize untrusted 'pickle' data. An attacker who can reach the message broker can execute arbitrary commands on the host server. Combined with missing network isolation in the code execution sandbox, this allows an authenticated student to achieve full Remote Code Execution (RCE) on the host system. Commit d66ba5659b459bf1ba56b7109b5f9ecf197cbefb fixes the issue.

Executive ViewAI

Why It Matters

RELATE LMS courseware platform allows authenticated students to execute arbitrary commands on course servers through improperly configured message deserialization. This creates operational and data confidentiality risk for institutions using RELATE LMS to host course content and student information. Organizations should immediately assess deployment scope and implement compensating controls given the broad student population with potential access.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Remove 'pickle' from CELERY_ACCEPT_CONTENT configuration to disable unsafe deserialization; (2) Implement network isolation of the message broker to prevent unauthorized student-initiated connections; (3) Restrict message broker access to authorized service accounts only; (4) Monitor Celery logs for deserialization errors or suspicious activity. A code fix has been identified in the RELATE repository (commit d66ba5659b459bf1ba56b7109b5f9ecf197cbefb); organizations building from source may apply this commit.

Threat Intelligence Overview

EPSS Score
0.5%
Top 32% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy