Moodle: group validation missing when enrolling user to course (moodle)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.20 % Β· percentile 10 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- fedora
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-842 β Placement of User into Incorrect Group
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N | fedora |
| CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N | NVD Β· patrick@puiterwijk.org (Secondary) |
European references
- ENISA EUVD Β· EUVD-2026-89724
- GCVE Β· GCVE-0-2026-102585
Affected configurations (NVD CPE)
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*β₯ 5.1.0 < 5.1.6cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*β₯ 5.2.0 < 5.2.2
Affected products
| Product | Versions |
|---|---|
| moodle | affected 5.2.0 < 5.2.2 ; affected 5.1.0 < 5.1.6 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |