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

- Severity: Medium 5.4 (CVSS:3.1, scored by fedora) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-02-03T10:52:19.744Z
- Modified: 2026-09-08T08:48:15.483Z
- Also known as: GHSA-hcm6-q6pc-xfhm, BIT-MOODLE-2025-67856
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: fedora

## 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.

(As written by CVE List.)

## Affected

- moodle: from 4.1.0 before 4.1.22; from 4.4.0 before 4.4.12; from 4.5.0 before 4.5.8; from 5.0.0 before 5.0.4; from 5.1.0 before 5.1.1
- moodle/moodle (Packagist): before 4.1.22; from 4.4.0-beta before 4.4.12; from 4.5.0-beta before 4.5.8; from 5.0.0-beta before 5.0.4; from 5.1.0-beta before 5.1.1
- moodle moodle: before 4.1.22; from 4.4.0 before 4.4.12; from 4.5.0 before 4.5.8; from 5.0.0 before 5.0.4; 5.1.0
- moodle (Bitnami): before 4.1.22; from 4.4.0 before 4.4.12; from 4.5.0 before 4.5.8; from 5.0.0 before 5.0.4; from 5.1.0 before 5.1.1

## Every score

- fedora: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://access.redhat.com/security/cve/CVE-2025-67856> (advisory, third-party-advisory, vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2423864> (advisory, issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-67856> (advisory, web)
- <https://github.com/moodle/moodle/commit/0d48779e61bcacbabbcb82858a037b567351fce0> (web)
- <https://github.com/moodle/moodle> (package)
- <https://moodle.org/mod/forum/discuss.php?d=471306> (web)

## Sources

- CVE List: [CVE-2025-67856](https://www.cve.org/CVERecord?id=CVE-2025-67856), CVE Terms of Use, modified 2026-02-26
- GitHub Advisory Database: [GHSA-hcm6-q6pc-xfhm](https://github.com/advisories/GHSA-hcm6-q6pc-xfhm), CC-BY-4.0, modified 2026-02-12
- NVD: [CVE-2025-67856](https://nvd.nist.gov/vuln/detail/CVE-2025-67856), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2025-67856](https://osv.dev/vulnerability/BIT-MOODLE-2025-67856), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-67856 · Whole record: https://cve.day/CVE-2025-67856.json · Rebuilt by cve.day 2026-11-25T22:59:11.009Z
