CVE-2026-26045GHSA-GGXQ-2MG9-8966BIT-MOODLE-2026-26045
Moodle: moodle: improper validation in file restore functionality leading to remote code execution
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.5.9, 5.0.5, 5.1.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- moodle
fixed in 4.5.9; From 5.0.0 · fixed in 5.0.5; From 5.1.0 · fixed in 5.1.2
- moodle/moodlePackagist
From 5.1.0-beta · fixed in 5.1.2
- moodle/moodlePackagist
From 5.0.0-beta · fixed in 5.0.5
- moodle/moodlePackagist
fixed in 4.5.9