Vulnerabilities

CVE-2025-67856

Critical 9.8 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2026-02-03
Last modified
2026-06-17
Assigned by
patrick@puiterwijk.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.3 % higher than 19 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Moodle Moodle < 4.1.22 Affected
moodle moodle (Packagist) < 4.1.22 Affected
Moodle Moodle 5.1.0 Affected
Moodle Moodle ≥ 4.4.0, < 4.4.12 Affected
moodle moodle (Packagist) ≥ 4.4.0-beta, < 4.4.12 Affected
Moodle Moodle ≥ 4.5.0, < 4.5.8 Affected
moodle moodle (Packagist) ≥ 4.5.0-beta, < 4.5.8 Affected
Moodle Moodle ≥ 5.0.0, < 5.0.4 Affected
moodle moodle (Packagist) ≥ 5.0.0-beta, < 5.0.4 Affected
moodle moodle (Packagist) ≥ 5.1.0-beta, < 5.1.1 Affected

Weakness type

  • CWE-863: Incorrect Authorization

    The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities