CVE-2026-26045
February 21, 2026
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.
Affected Packages
https://github.com/moodle/moodle.git (GITHUB):
Affected version(s) >=v5.1.0 <v5.1.2Fix Suggestion:
Update to version v5.1.2https://github.com/moodle/moodle.git (GITHUB):
Affected version(s) >=v5.0.0 <v5.0.5Fix Suggestion:
Update to version v5.0.5https://github.com/moodle/moodle.git (GITHUB):
Affected version(s) >=v1.0.0 <v4.5.9Fix Suggestion:
Update to version v4.5.9moodle/moodle (PHP):
Affected version(s) >=v5.1.0 <v5.1.2Fix Suggestion:
Update to version v5.1.2moodle/moodle (PHP):
Affected version(s) >=v5.0.0 <v5.0.5Fix Suggestion:
Update to version v5.0.5moodle/moodle (PHP):
Affected version(s) >=v1.0.0 <v4.5.9Fix Suggestion:
Update to version v4.5.9Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
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
CVSS v3
Base Score:
7.2
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.09