# CVE-2026-26045: Moodle: moodle: improper validation in file restore functionality leading to remote code execution

- Priority: **Routine**
- Reason: Not severe (CVSS 7.2, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-21 · Modified: 2026-02-26
- Aliases: UBUNTU-CVE-2026-26045
- Record: https://cvemate.com/vulnerability/CVE-2026-26045 · JSON: https://cvemate.com/vulnerability/CVE-2026-26045/json

## Description

```text
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.
```

## Signals

- CVSS: 7.2 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.657%, percentile 52.835%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu moodle (Ubuntu): All versions (No fix recorded)
- moodle moodle: \< 4.5.9 \| ≥ 5.0.0, \< 5.0.5 \| ≥ 5.1.0, \< 5.1.2

## References

- <https://access.redhat.com/security/cve/CVE-2026-26045>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2440901>
- <https://ubuntu.com/security/CVE-2026-26045>
- <https://www.cve.org/CVERecord?id=CVE-2026-26045>

---

Data as of 2026-12-05T03:14:19.369Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
