Skip to content
OpenAdvisories
High · 8.8 CVE-2025-67847 BIT-moodle-2025-67847EUVD-2026-4324GHSA-xvmh-25jw-gmmm

Moodle: moodle: remote code execution via insufficient restore input validation

Published Jan 23, 2026 · Updated Feb 26, 2026 · Assigned by fedora

Description

A flaw was found in Moodle. An attacker with access to the restore interface could trigger server-side execution of arbitrary code. This is due to insufficient validation of restore input, which leads to unintended interpretation by core restore routines. Successful exploitation could result in a full compromise of the Moodle application.

Affected products

VendorProductAffectedFixed
— moodle 5.1.0 – < 5.1.1, 5.0.0 – < 5.0.4, 4.5.0 – < 4.5.8, 4.4.0 – < 4.4.12, 4.1.0 – < 4.1.22, < 4.1.0 5.1.1

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.1 5.1.1 GHSA-xvmh-25jw-gmmm
Packagist moodle/moodle >= 5.0.0-beta, < 5.0.4 5.0.4 GHSA-xvmh-25jw-gmmm
Packagist moodle/moodle >= 4.5.0-beta, < 4.5.8 4.5.8 GHSA-xvmh-25jw-gmmm
Packagist moodle/moodle >= 4.2.0-beta, < 4.4.12 4.4.12 GHSA-xvmh-25jw-gmmm
Packagist moodle/moodle < 4.1.22 4.1.22 GHSA-xvmh-25jw-gmmm

Advisories 1

References