Skip to content

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

MediumCVSS 4.3 EPSS 0.20%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
moodle >= 5.1.0, < 5.1.6; >= 5.2.0, < 5.2.2 5.1.6, 5.2.2 Fixed
moodle/moodle >= 5.1.0, < 5.1.6; >= 5.2.0, < 5.2.2 5.1.6, 5.2.2 Fixed

Affected products

ProductAffected versionsFixed in
moodle >= 5.2.0, < 5.2.2 5.2.2
moodle >= 5.1.0, < 5.1.6 5.1.6
moodle/moodle >= 5.1.0, < 5.1.6 5.1.6
moodle/moodle >= 5.2.0, < 5.2.2 5.2.2

References