Moodle has an authorization logic flaw
Moderate severity
GitHub Reviewed
Published
Feb 3, 2026
to the GitHub Advisory Database
•
Updated Feb 3, 2026
Package
Affected versions
< 4.1.22
>= 4.4.0-beta, < 4.4.12
>= 4.5.0-beta, < 4.5.8
>= 5.0.0-beta, < 5.0.4
>= 5.1.0-beta, < 5.1.1
Patched versions
4.1.22
4.4.12
4.5.8
5.0.4
5.1.1
Description
Published by the National Vulnerability Database
Feb 3, 2026
Published to the GitHub Advisory Database
Feb 3, 2026
Reviewed
Feb 3, 2026
Last updated
Feb 3, 2026
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.
References