CVE-2026-26045

published 21 Feb 2026 · updated 26 Feb 2026

Moodle: moodle: improper validation in file restore functionality leading to remote code execution

7.2HighCVSS 7.2EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 4.5.9, 5.0.5 and 5.1.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<4.5.9, >=5.0.0 <5.0.5, >=5.1.0 <5.1.24.5.9, 5.0.5, 5.1.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-26045 severity on Zeptric[![CVE-2026-26045](https://zeptric.io/badge/cve/CVE-2026-26045.svg)](https://zeptric.io/cve/CVE-2026-26045)