Moodle: moodle: remote code execution via insufficient restore input validation (moodle)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.57 % · percentile 47 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- fedora
- NVD status
- Analyzed
Description
A flaw was found in Moodle. An attacker with access to the restore interface could trigger server-side execution of arbitrary code. This is due to insufficient validation of restore input, which leads to unintended interpretation by core restore routines. Successful exploitation could result in a full compromise of the Moodle application.
Weaknesses (CWE)
- CWE-94 — Improper Control of Generation of Code
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | fedora |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · patrick@puiterwijk.org (Secondary) |
Advisories
- GHSA-xvmh-25jw-gmmm — Moodle affected by a code injection vulnerability
European references
- ENISA EUVD · EUVD-2026-4324
- GCVE · GCVE-0-2025-67847
Affected configurations (NVD CPE)
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*< 4.1.22cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*≥ 4.4.0 < 4.4.12cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*≥ 4.5.0 < 4.5.8cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*≥ 5.0.0 < 5.0.4cpe:2.3:a:moodle:moodle:5.1.0:-:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| moodle | affected 5.1.0 < 5.1.1 ; affected 5.0.0 < 5.0.4 ; affected 4.5.0 < 4.5.8 ; affected 4.4.0 < 4.4.12 ; affected 4.1.0 < 4.1.22 ; affected 0 < 4.1.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |