CVE-2025-67847
HIGH 8.8CVSS 3.1Moodle affected by a code injection vulnerability
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.
- Published
- 23 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- patrick@puiterwijk.org
- NVD status
- Analyzed
- Weakness
- CWE-94
- Also known as
- BIT-moodle-2025-67847GHSA-xvmh-25jw-gmmm
- Sources
- NVDJSONOSV GHSA-xvmh-25jw-gmmmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | patrick@puiterwijk.org (Secondary) | 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 |
| OSV | GitHub | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
< 4.1.22 | 4.1.22 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.4.0, < 4.4.12 | 4.4.12 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.5.0, < 4.5.8 | 4.5.8 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.0.4 | 5.0.4 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:5.1.0:-:*:*:*:*:*:* |
= 5.1.0 | |
| OSV | Packagist | moodle/moodle | >= 5.1.0-beta, < 5.1.1 | 5.1.1 |
| OSV | Packagist | moodle/moodle | >= 5.0.0-beta, < 5.0.4 | 5.0.4 |
| OSV | Packagist | moodle/moodle | >= 4.5.0-beta, < 4.5.8 | 4.5.8 |
| OSV | Packagist | moodle/moodle | >= 4.2.0-beta, < 4.4.12 | 4.4.12 |
| OSV | Packagist | moodle/moodle | < 4.1.22 | 4.1.22 |
References
- https://access.redhat.com/security/cve/CVE-2025-67847 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-67847 · ADVISORY
- https://github.com/moodle/moodle · PACKAGE
- https://moodle.org/mod/forum/discuss.php?d=471297#p1892199 · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 23 Jan 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 23 Jan 2026)