CVE-2026-26045
Moodle: moodle: improper validation in file restore functionality leading to remote code execution
7.2
HIGH
CVSS 3.1
EPSS 0.11%
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.
How to fix CVE-2026-26045
To remediate CVE-2026-26045, upgrade the affected package to a fixed version below.
- —upgrade to 4.5.9 or later
- —upgrade to 5.1.2 or later
Is CVE-2026-26045 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 4.5.9, >= 5.0.0, < 5.0.5, >= 5.1.0, < 5.1.2
- >= 5.1.0-beta, < 5.1.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |