Skip to main content
← All vulnerabilities
CVE-2025-67847GHSA-XVMH-25JW-GMMMBIT-MOODLE-2025-67847

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.1.1, 5.0.4, 4.5.8, 4.4.12, 4.1.22, and 1 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • moodle

    From 5.1.0 · fixed in 5.1.1; From 5.0.0 · fixed in 5.0.4; From 4.5.0 · fixed in 4.5.8; From 4.4.0 · fixed in 4.4.12; From 4.1.0 · fixed in 4.1.22; fixed in 4.1.0

  • moodle/moodlePackagist

    From 5.1.0-beta · fixed in 5.1.1

  • moodle/moodlePackagist

    From 5.0.0-beta · fixed in 5.0.4

  • moodle/moodlePackagist

    From 4.5.0-beta · fixed in 4.5.8

  • moodle/moodlePackagist

    From 4.2.0-beta · fixed in 4.4.12

  • moodle/moodlePackagist

    fixed in 4.1.22

References 1

access.redhat.com