CVE-2026-26045: Moodle: moodle: improper validation in file restore functionality leading to remote code execution
Vulnerability summary
CVE-2026-26045 is a high (CVSS 7.2) Improper Control of Generation of Code vulnerability in moodle. EPSS estimates a 0.66% chance of exploitation in the next 30 days, higher than 52.8% of scored vulnerabilities.
Not severe (CVSS 7.2, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 21-02-2026PublishedVulnerability first disclosed.
- 26-02-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.2HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.2HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.66%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.64% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Moodle1 product
- moodle< 4.5.9 | ≥ 5.0.0, < 5.0.5 | ≥ 5.1.0, < 5.1.2
Ubuntu1 product
- moodleAll versions (No fix recorded)
2 vendors · 2 products
References
4 links- bugzilla.redhat.com/show_bug.cgi?id=2440901Issue TrackingX Refsource REDHATREPORTThird Party Advisory