Vulnerability · Published Jan 23, 2026 · Assigned by fedora
CVE-2025-67847Moodle: moodle: remote code execution via insufficient restore input validation
High 8.8
In plain English
A high-severity code injection in moodle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | moodle/moodle | 5.1.1 | GHSA-xvmh-25jw-gmmm |
| Packagist | moodle/moodle | 5.0.4 | GHSA-xvmh-25jw-gmmm |
| Packagist | moodle/moodle | 4.5.8 | GHSA-xvmh-25jw-gmmm |
| Packagist | moodle/moodle | 4.4.12 | GHSA-xvmh-25jw-gmmm |
| Packagist | moodle/moodle | 4.1.22 | GHSA-xvmh-25jw-gmmm |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| moodle | 5.1.0 – before 5.1.15.0.0 – before 5.0.44.5.0 – before 4.5.84.4.0 – before 4.4.124.1.0 – before 4.1.220 – before 4.1.0 |
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://access.redhat.com/security/cve/CVE-2025-67847 vdb-entry, x_refsource_REDHAT