All reports
High

Moodle has a Remote Code Execution risk via file restore

Affected versions

Affected versions
>= 5.1.0-beta, < 5.1.2
Fixed version
5.1.2
Affected versions
< 4.5.9
Fixed version
4.5.9
Affected versions
>= 5.0.0-beta, < 5.0.5
Fixed version
5.0.5

Exploitation

CVE-2026-26045

Probability of exploitation in the next 30 days: 0.66%

FIRST EPSS · 2026-11-21

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.

Links