CVE-2025-67847

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductMoodle
PublishedJan 23, 2026
First seenJan 23, 2026

How to fix

Update
  • moodle moodle4.1.22, 4.4.12, 4.5.8, 5.0.4 or later
  • moodle/moodle5.1.1, 5.0.4, 4.5.8, 4.4.12, 4.1.22 or later

Affected products

ProductAffected versionsFixed in
moodle moodlev < 4.1.22, 4.4.0 ≤ v < 4.4.12, 4.5.0 ≤ v < 4.5.8, 5.0.0 ≤ v < 5.0.4, 5.1.04.1.22, 4.4.12, 4.5.8, 5.0.4
moodle/moodlePackagist5.1.0-beta ≤ v < 5.1.1, 5.0.0-beta ≤ v < 5.0.4, 4.5.0-beta ≤ v < 4.5.8, 4.2.0-beta ≤ v < 4.4.12, v < 4.1.225.1.1, 5.0.4, 4.5.8, 4.4.12, 4.1.22

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-67847 · Moodle · Dark Radar