NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2026-26045: Moodle has a Remote Code Execution risk via file restore

highCVSS 3.1 7.2GHSA-ggxq-2mg9-8966

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.

Published Feb 21, 2026 · Updated Feb 25, 2026

Affected packages

moodle/moodle

Ecosystem
Composer (PHP)
Affected
>= 5.1.0-beta, < 5.1.2
Fixed in
5.1.2
Check
composer show moodle/moodle

moodle/moodle

Ecosystem
Composer (PHP)
Affected
>= 5.0.0-beta, < 5.0.5
Fixed in
5.0.5
Check
composer show moodle/moodle

moodle/moodle

Ecosystem
Composer (PHP)
Affected
< 4.5.9
Fixed in
4.5.9
Check
composer show moodle/moodle

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries