# CVE-2025-67847: Moodle: moodle: remote code execution via insufficient restore input validation

- Severity: High 8.8 (CVSS:3.1, scored by fedora) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 53% of CVEs (2026-11-30)
- Published: 2026-01-23T04:35:12.044Z
- Modified: 2026-09-08T08:48:15.616Z
- Also known as: GHSA-xvmh-25jw-gmmm, BIT-MOODLE-2025-67847
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: fedora

## 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.

(As written by CVE List.)

## Affected

- moodle: from 5.1.0 before 5.1.1; from 5.0.0 before 5.0.4; from 4.5.0 before 4.5.8; from 4.4.0 before 4.4.12; from 4.1.0 before 4.1.22; before 4.1.0
- moodle/moodle (Packagist): from 5.1.0-beta before 5.1.1; from 5.0.0-beta before 5.0.4; from 4.5.0-beta before 4.5.8; from 4.2.0-beta before 4.4.12; before 4.1.22
- moodle moodle: before 4.1.22; from 4.4.0 before 4.4.12; from 4.5.0 before 4.5.8; from 5.0.0 before 5.0.4; 5.1.0
- moodle (Bitnami): before 4.1.22; from 4.4.0 before 4.4.12; from 4.5.0 before 4.5.8; from 5.0.0 before 5.0.4; from 5.1.0 before 5.1.1

## Every score

- fedora: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://access.redhat.com/security/cve/CVE-2025-67847> (advisory, third-party-advisory, vdb-entry, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-67847> (advisory, web)
- <https://github.com/moodle/moodle> (package)
- <https://moodle.org/mod/forum/discuss.php?d=471297#p1892199> (web)

## Sources

- CVE List: [CVE-2025-67847](https://www.cve.org/CVERecord?id=CVE-2025-67847), CVE Terms of Use, modified 2026-02-26
- GitHub Advisory Database: [GHSA-xvmh-25jw-gmmm](https://github.com/advisories/GHSA-xvmh-25jw-gmmm), CC-BY-4.0, modified 2026-03-06
- NVD: [CVE-2025-67847](https://nvd.nist.gov/vuln/detail/CVE-2025-67847), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2025-67847](https://osv.dev/vulnerability/BIT-MOODLE-2025-67847), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-67847 · Whole record: https://cve.day/CVE-2025-67847.json · Rebuilt by cve.day 2026-11-25T22:59:10.831Z
