CVE-2025-67856
CRITICAL 9.8CVSS 3.1Moodle has an authorization logic flaw
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.
- Published
- 3 Feb 2026
- Last modified
- 17 Jun 2026
- Assigned by
- patrick@puiterwijk.org
- NVD status
- Modified
- Weakness
- CWE-863
- Also known as
- BIT-moodle-2025-67856GHSA-hcm6-q6pc-xfhm
- Sources
- NVDJSONOSV GHSA-hcm6-q6pc-xfhmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | patrick@puiterwijk.org (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
< 4.1.22 | 4.1.22 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.4.0, < 4.4.12 | 4.4.12 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.5.0, < 4.5.8 | 4.5.8 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.0.4 | 5.0.4 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:5.1.0:*:*:*:*:*:*:* |
= 5.1.0 | |
| OSV | Packagist | moodle/moodle | < 4.1.22 | 4.1.22 |
| OSV | Packagist | moodle/moodle | >= 4.4.0-beta, < 4.4.12 | 4.4.12 |
| OSV | Packagist | moodle/moodle | >= 4.5.0-beta, < 4.5.8 | 4.5.8 |
| OSV | Packagist | moodle/moodle | >= 5.0.0-beta, < 5.0.4 | 5.0.4 |
| OSV | Packagist | moodle/moodle | >= 5.1.0-beta, < 5.1.1 | 5.1.1 |
References
- https://access.redhat.com/security/cve/CVE-2025-67856 · Third Party Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2423864 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-67856 · ADVISORY
- https://github.com/moodle/moodle/commit/0d48779e61bcacbabbcb82858a037b567351fce0 · WEB
- https://github.com/moodle/moodle · PACKAGE
- https://moodle.org/mod/forum/discuss.php?d=471306 · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 3 Feb 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 3 Feb 2026)