Live threats

All CVEs / Moodle

CVE-2026-26045Moodle

High 7.2

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
moodlemoodle< 4.5.9
moodlemoodle≥ 5.0.0 < 5.0.5
moodlemoodle≥ 5.1.0 < 5.1.2

Official sources

References

Links published by the sources. Open them with care.