Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-102585 EUVD-2026-89724GHSA-h69r-rprv-j965

Moodle: group validation missing when enrolling user to course

Published Sep 30, 2026 · Updated Sep 30, 2026 · Assigned by fedora

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

VendorProductAffectedFixed
— moodle 5.2.0 – < 5.2.2, 5.1.0 – < 5.1.6 5.2.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Advisories 1

References