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

Published Sep 29, 2026
·
Updated

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.

Other sources

A flaw was found in Moodle. When enrolling a user into a course while selecting a group, a check that the selected group actually belonged to that course was missing, allowing a teacher to add users to groups in courses the teacher could not otherwise access.

— Red Hat

Affected Software

1 affected component
Moodle Moodle

Event History

Sep 29, 2026
Data Sourced
via Red Hat·08:37 PM
DescriptionSeverityAffected Software
Sep 30, 2026
CVE Published
via MITRE·08:36 AM
Data Sourced
via MITRE·08:36 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated user with teacher privileges can exploit it. The issue is relevant where that user can enroll users in a course and assign them to groups.

2

What access does exploitation provide?

A teacher can add users to groups belonging to courses that the teacher is not authorized to access. The described impact is unauthorized group membership assignment rather than disclosure or service disruption.

3

How can administrators identify potentially affected activity?

Review course enrollment actions performed by teacher-privileged accounts that included group assignments. Look for cases where the assigned group belonged to a different course than the course in which the enrollment was made.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203