CVE-2026-26045 json
Moodle: moodle: improper validation in file restore functionality leading to remote code execution
published 2026-02-21 8 mo ago modified 2026-09-08 2 mo ago also BIT-moodle-2026-26045 , EUVD-2026-7390 , GHSA-ggxq-2mg9-8966
- cvss
- 7.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
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.
Patch / fix
- packagist moodle/moodle 4.5.9, 5.0.5, 5.1.2
- bitnami moodle 4.5.9, 5.0.5, 5.1.2
- moodle moodle 4.5.9, 5.0.5, 5.1.2
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-26045 updated cvss 7.2
moodle: Moodle: Improper Validation in File Restore Functionality Leading to Remote Code Execution
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 8 mo ago
Exploit prediction
0.64% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | >=5.1.0-beta, <5.1.2 >=5.0.0-beta, <5.0.5 <4.5.9 |
5.1.2 5.0.5 4.5.9 |
| bitnami | moodle | <4.5.9 >=5.0.0, <5.0.5 >=5.1.0, <5.1.2 |
4.5.9 5.0.5 5.1.2 |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/moodle/moodle/commit/566054ba11f609a6d48d09b32e85d435d49927da
web
-
access.redhat.com
/security/cve/CVE-2026-26045
vdb-entry, web, third-party-advisory, advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2440901
issue-tracking, web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-26045
advisory, web
-
github.com
/moodle/moodle
package
-
moodle.org
/mod/forum/discuss.php?d=473314
web
Sources
- CVE List CVE-2026-26045
- GitHub Advisory GHSA-ggxq-2mg9-8966
- NVD CVE-2026-26045
- OSV BIT-moodle-2026-26045
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.