CVE-2025-67856: Moodle: moodle: privilege escalation via incomplete role checks in badge awarding

CVE-2025-67856 affects 188 listed versions of Moodle in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
under 1%EPSS (next 30 days)
3 February 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Moodle

188 of 250 listed versions are affected. Fixed in 5.1.1, 5.0.4, 4.5.8, 4.4.12, 4.1.22. The newest release, 5.3.1, is not affected.

5.1.0 5.0.3 5.0.2 5.0.1 5.0.0 4.5.7 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.4.11 4.4.10 4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.4 4.1.21 4.1.20 4.1.19 4.1.18 4.1.17 4.1.16 4.1.15 4.1.14 4.1.13 4.1.12 4.1.11 4.1.10 4.1.9 4.1.8 4.0.12 4.0.11 4.0.10 4.0.9 4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 4.0.0 4.0.0-rc4 4.0.0-rc3 3.11.18 3.11.17 3.11.16 3.11.15 3.11.14 3.11.13 3.11.12 and 128 more

What it is

A flaw was found in Moodle. An authorization logic flaw, specifically due to incomplete role checks during the badge awarding process, allowed badges to be granted without proper verification. This could enable unauthorized users to obtain badges they are not entitled to, potentially leading to privilege escalation or unauthorized access to certain features.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by Fedora on 3 February 2026. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2025-67856 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.