Skip to main content
← All vulnerabilities
CVE-2026-26045GHSA-GGXQ-2MG9-8966BIT-MOODLE-2026-26045

Moodle: moodle: improper validation in file restore functionality leading to remote code execution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.5.9, 5.0.5, 5.1.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

A flaw was identified in Moodle’s backup restore functionality where specially crafted backup files were not properly validated during processing. If a malicious backup file is restored, it could lead to unintended execution of server-side code. Since restore capabilities are typically available to privileged users, exploitation requires authenticated access. Successful exploitation could result in full compromise of the Moodle server.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • moodle

    fixed in 4.5.9; From 5.0.0 · fixed in 5.0.5; From 5.1.0 · fixed in 5.1.2

  • moodle/moodlePackagist

    From 5.1.0-beta · fixed in 5.1.2

  • moodle/moodlePackagist

    From 5.0.0-beta · fixed in 5.0.5

  • moodle/moodlePackagist

    fixed in 4.5.9

References 2

access.redhat.com

bugzilla.redhat.com