What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Moodle 5.1.6, 5.2.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-102585 or the next vulnerability affects your stack