CVE-2026-26045
Received
Received - Intake
Server-Side Code Execution via Moodle Backup Restore Flaw
Publication date: 2026-02-21
Last updated on: 2026-02-26
Assigner: Fedora Project
Description
Description
A flaw was identified in Moodleβs backup restore functionality where specially crafted backup files were not properly validated during processing. If a malicious backup file is restored, it could lead to unintended execution of server-side code. Since restore capabilities are typically available to privileged users, exploitation requires authenticated access. Successful exploitation could result in full compromise of the Moodle server.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| moodle | moodle | to 4.5.9 (exc) |
| moodle | moodle | From 5.0.0 (inc) to 5.0.5 (exc) |
| moodle | moodle | From 5.1.0 (inc) to 5.1.2 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-94 | The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. |