CVE-2026-26045Moodle
High 7.2
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.2
- EPSS
- —
- Auth required
- Yes
- Published
- Feb 21, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Moodle.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≥ 5.1.0-beta < 5.1.2 |
5.1.2 |
composer require "moodle/moodle:^5.1.2" |
| Packagist | moodle/moodle |
≥ 5.0.0-beta < 5.0.5 |
5.0.5 |
composer require "moodle/moodle:^5.0.5" |
| Packagist | moodle/moodle |
< 4.5.9 |
4.5.9 |
composer require "moodle/moodle:^4.5.9" |
Per OSV / GitHub Advisories (GHSA-ggxq-2mg9-8966). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | < 4.5.9 |
| moodle | moodle | ≥ 5.0.0 < 5.0.5 |
| moodle | moodle | ≥ 5.1.0 < 5.1.2 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Third Party Advisory
- bugzilla.redhat.com Third Party Advisory