What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Moodle 4.5.9, 5.0.5, 5.1.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-26045 or the next vulnerability affects your stack