# CVE-2026-102585: Moodle: group validation missing when enrolling user to course

- Severity: Medium 4.3 (CVSS:3.1, scored by fedora) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/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.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-09-30T08:36:17.130Z
- Modified: 2026-10-05T14:30:05.476Z
- Also known as: BIT-MOODLE-2026-102585
- Weaknesses: CWE-842
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: fedora

## Description

A flaw was found in Moodle. When enrolling a user into a course while assigning them to a group, the application does not verify whether the selected group actually belongs to that course. An authenticated user with teacher privileges could exploit this flaw to add users to groups within courses they do not have authorization to access.

(As written by CVE List.)

## Affected

- moodle: from 5.2.0 before 5.2.2; from 5.1.0 before 5.1.6
- moodle moodle: from 5.1.0 before 5.1.6; from 5.2.0 before 5.2.2
- moodle (Bitnami): from 5.1.0 before 5.1.6; from 5.2.0 before 5.2.2

## Every score

- fedora: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88538> (fix, patch)
- <https://access.redhat.com/security/cve/CVE-2026-102585> (advisory, third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2543639> (advisory, issue-tracking, third-party-advisory)
- <https://moodle.org/mod/forum/discuss.php?d=482503> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102585> (web)

## Sources

- CVE List: [CVE-2026-102585](https://www.cve.org/CVERecord?id=CVE-2026-102585), CVE Terms of Use, modified 2026-09-30
- NVD: [CVE-2026-102585](https://nvd.nist.gov/vuln/detail/CVE-2026-102585), Public domain, modified 2026-10-01
- Bitnami Vulnerability Database: [BIT-MOODLE-2026-102585](https://osv.dev/vulnerability/BIT-MOODLE-2026-102585), Apache-2.0, modified 2026-10-05

---

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