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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-30 · Modified: 2026-09-30
- Aliases: UBUNTU-CVE-2026-102585
- Record: https://cvemate.com/vulnerability/CVE-2026-102585 · JSON: https://cvemate.com/vulnerability/CVE-2026-102585/json

## Description

```text
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.
```

## Signals

- CVSS: 4.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.201%, percentile 10.464%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu moodle (Ubuntu): All versions (No fix recorded)
- moodle moodle: ≥ 5.1.0, \< 5.1.6 \| ≥ 5.2.0, \< 5.2.2

## References

- <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88538>
- <https://access.redhat.com/security/cve/CVE-2026-102585>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2543639>
- <https://moodle.org/mod/forum/discuss.php?d=482503>
- <https://ubuntu.com/security/CVE-2026-102585>
- <https://www.cve.org/CVERecord?id=CVE-2026-102585>

---

Data as of 2026-12-05T03:21:18.533Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
