published 30 Sep 2026 · updated 30 Sep 2026
Moodle: group validation missing when enrolling user to course
4.3MediumCVSS 4.3EPSS 0%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 5.1.6 and 5.2.2.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| >=5.1.0 <5.1.6, >=5.2.0 <5.2.2 | 5.1.6, 5.2.2 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket