CVE-2025-67847
High
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.
SeverityHigh
CVSS8.8
Exploit probability—
Product
Moodle
PublishedJan 23, 2026
First seenJan 23, 2026
Weakness typeCWE-94Code injection
How to fix
Update
- moodle moodle4.1.22, 4.4.12, 4.5.8, 5.0.4 or later
- moodle/moodle5.1.1, 5.0.4, 4.5.8, 4.4.12, 4.1.22 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| moodle moodle | v < 4.1.22, 4.4.0 ≤ v < 4.4.12, 4.5.0 ≤ v < 4.5.8, 5.0.0 ≤ v < 5.0.4, 5.1.0 | 4.1.22, 4.4.12, 4.5.8, 5.0.4 |
| moodle/moodlePackagist | 5.1.0-beta ≤ v < 5.1.1, 5.0.0-beta ≤ v < 5.0.4, 4.5.0-beta ≤ v < 4.5.8, 4.2.0-beta ≤ v < 4.4.12, v < 4.1.22 | 5.1.1, 5.0.4, 4.5.8, 4.4.12, 4.1.22 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.