CVE-2026-26045

High

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.

SeverityHigh
CVSS7.2
Exploit probability—
ProductMoodle
PublishedFeb 21, 2026
First seenFeb 21, 2026

How to fix

Update
  • moodle moodle4.5.9, 5.0.5, 5.1.2 or later
  • moodle/moodle5.1.2, 5.0.5, 4.5.9 or later

Affected products

ProductAffected versionsFixed in
moodle moodlev < 4.5.9, 5.0.0 ≤ v < 5.0.5, 5.1.0 ≤ v < 5.1.24.5.9, 5.0.5, 5.1.2
moodle/moodlePackagist5.1.0-beta ≤ v < 5.1.2, 5.0.0-beta ≤ v < 5.0.5, v < 4.5.95.1.2, 5.0.5, 4.5.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.