RCE in Moodle

CVE-2026-26045

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.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.006 (42.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-26045?
CVE-2026-26045 is a high-severity vulnerability in Moodle, classified under Code Injection. CVSS score: 7.2/10. Published 2026-02-21.
How severe is CVE-2026-26045?
High severity. CVSS v3 base score is 7.2 out of 10.