CVE-2026-26045: Moodle: moodle: improper validation in file restore functionality leading to remote code execution

Published Feb 19, 2026
·
Updated

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.

Affected Software

7 affected componentsFixes available
Moodle Moodle
composer/moodle/moodle<4.5.9
4.5.9
composer/moodle/moodle>=5.0.0-beta<5.0.5
5.0.5
composer/moodle/moodle>=5.1.0-beta<5.1.2
5.1.2
Moodle Moodle<4.5.9
Moodle Moodle>=5.0.0<5.0.5
Moodle Moodle>=5.1.0<5.1.2

Event History

Feb 19, 2026
Data Sourced
via Red Hat·08:45 AM
DescriptionSeverityAffected Software
Feb 21, 2026
CVE Published
via MITRE·05:40 AM
Data Sourced
via MITRE·05:40 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 AM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·06:30 AM
Data Sourced
via GitHub·06:30 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-26045?

CVE-2026-26045 has been classified as a critical vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2026-26045?

To fix CVE-2026-26045, ensure that you apply the latest security patches provided by Moodle that address the improper validation in the backup restore functionality.

3

What systems are affected by CVE-2026-26045?

CVE-2026-26045 affects all versions of Moodle with the vulnerable backup restore functionality.

4

What kind of attack can be executed with CVE-2026-26045?

An attacker can exploit CVE-2026-26045 by restoring a malicious backup file that allows for remote code execution.

5

What should I do if I am using an affected version of Moodle regarding CVE-2026-26045?

If you are using an affected version of Moodle, immediately update to the patched version and review your backup files for any suspicious activity.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203