Skip to content
OpenAdvisories
High · 7.2 CVE-2026-26045 BIT-moodle-2026-26045EUVD-2026-7390GHSA-ggxq-2mg9-8966

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

Published Feb 21, 2026 · Updated Feb 26, 2026 · Assigned by fedora

Description

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 products

VendorProductAffectedFixed
— moodle < 4.5.9, 5.0.0 – < 5.0.5, 5.1.0 – < 5.1.2 4.5.9

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle >= 5.1.0-beta, < 5.1.2 5.1.2 GHSA-ggxq-2mg9-8966
Packagist moodle/moodle >= 5.0.0-beta, < 5.0.5 5.0.5 GHSA-ggxq-2mg9-8966
Packagist moodle/moodle < 4.5.9 4.5.9 GHSA-ggxq-2mg9-8966

Advisories 1

References