CVE-2025-67847

Moodle: moodle: remote code execution via insufficient restore input validation

State
Published
Severity
8.8 High
Published
Jan 23, 2026
Updated
Feb 26, 2026
Reserved
Dec 12, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hfedora

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

Affected Products

ProductVersions
moodle
  • 5.1.0 to before 5.1.1Affected
  • 5.0.0 to before 5.0.4Affected
  • 4.5.0 to before 4.5.8Affected
  • 4.4.0 to before 4.4.12Affected
  • 4.1.0 to before 4.1.22Affected
  • before 4.1.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.