~ / search / GHSA-ggxq-2mg9-8966

GHSA-ggxq-2mg9-8966

Moodle has a Remote Code Execution risk via file restore

Source: GitHub Advisory Database (reviewed) High CVE-2026-26045

Packages

EcosystemPackageAffectedFixed in
Packagist moodle/moodle >= 5.1.0-beta, < 5.1.2 5.1.2
Packagist moodle/moodle >= 5.0.0-beta, < 5.0.5 5.0.5
Packagist moodle/moodle < 4.5.9 4.5.9

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.