CVE-2025-67856
Moodle has an authorization logic flaw
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Bitnami. Rated lower by GHSA (medium).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | moodle | 4.1.22, 4.4.12, 4.5.8, 5.0.4, 5.1.1 |
| composer::GitHub Security Advisory Composer | moodle/moodle | 4.1.22, 4.4.12, 4.5.8, 5.0.4, 5.1.1 |
| rapidfort fedora 43 | moodle | 5.0.4-1.fc43 |
References
- https://access.redhat.com/security/cve/CVE-2025-67856
- https://bugzilla.redhat.com/show_bug.cgi?id=2423864
- https://github.com/moodle/moodle
- https://github.com/moodle/moodle/commit/0d48779e61bcacbabbcb82858a037b567351fce0
- https://moodle.org/mod/forum/discuss.php?d=471306
- https://nvd.nist.gov/vuln/detail/CVE-2025-67856