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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- git.moodle.org patch
- access.redhat.com third-party-advisory vdb-entry
- RHBZ#2543639 issue-tracking third-party-advisory
- moodle.org vendor-advisory
- ENISA EUVD EUVD-2026-89724 third-party-advisory