BreachSpiderVerified, not vibes

CVE-2021-36394 in Moodle

Critical 9.8

In Moodle, a remote code execution risk was identified in the Shibboleth authentication plugin.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.8
EPSS7.0%
EPSS percentile95th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Moodle Moodle < 3.9.8 ≥ 3.10.0, < 3.10.5 ≥ 3.11.0, < 3.11.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

In Moodle, a remote code execution risk was identified in the Shibboleth authentication plugin.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-36394
BreachSpider IDBS-2023-GLOBAL-297384-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2023-03-06
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-94: Code Injection

Attacker injects arbitrary code that is executed by the application process.

CWE-384: CWE-384

Related attack patterns (CAPEC)

CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-384

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94

CAPEC-59 Session Credential Falsification through Prediction via CWE-384

CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-384

CAPEC-61 Session Fixation via CWE-384

Show all 10

CAPEC-39 Manipulating Opaque Client-based Data Tokens via CWE-384

CAPEC-77 Manipulating User-Controlled Variables via CWE-94

CAPEC-196 Session Credential Falsification through Forging via CWE-384

CAPEC-21 Exploitation of Trusted Identifiers via CWE-384

CAPEC-242 Code Injection via CWE-94

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A critical remote code execution vulnerability has been identified in the Shibboleth authentication plugin of Moodle, which could allow an attacker to execute arbitrary code on the server.

The vulnerability arises from improper validation of user input in the Shibboleth authentication plugin, enabling an attacker to inject malicious code that could be executed on the server.

Questions

What is CVE-2021-36394?

A critical remote code execution vulnerability has been identified in the Shibboleth authentication plugin of Moodle, which could allow an attacker to execute arbitrary code on the server.

What is the CVSS score for CVE-2021-36394?

CVE-2021-36394 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 7.0%.

Is CVE-2021-36394 actively exploited?

No confirmed active exploitation of CVE-2021-36394 as of 2026-09-25.

How do I remediate CVE-2021-36394?

Priority: IMMEDIATE. Advisory: https://moodle.org/mod/forum/discuss.php?d=424799 PSIRT: [email protected]

What systems are affected by CVE-2021-36394?

CVE-2021-36394 affects Moodle Moodle.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Moodle","product":"Moodle","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.