All vulnerabilities
CVE-2026-102585

Moodle: group validation missing when enrolling user to course

Unknown productApplications & CMS
CVSS
4.3Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.20%Chance of exploitation activity in the next 30 days, higher than 9% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in5.2.2Also 5.1.6CVE List
Published30 Sep 2026Updated 30 Sep 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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.

Text from CVE List

Affected versions 2

  • Productaffected: 5.2.0 before 5.2.2CVE List
  • Productaffected: 5.1.0 before 5.1.6CVE List

References 3