Moodle: group validation missing when enrolling user to course
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.
BIT-moodle-2026-102585
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:BIT-moodle-2026-102585
moodle
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 5.1.6
Source reference:
/affected/0/ranges5.2.2Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "5.1.0"
},
{
"fixed": "5.1.6"
},
{
"introduced": "5.2.0"
},
{
"fixed": "5.2.2"
}
]
}
],
"package": {
"name": "moodle",
"purl": "pkg:bitnami/moodle",
"ecosystem": "Bitnami"
},
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
}
],
"database_specific": {
"source": "https://github.com/bitnami/vulndb/tree/main/data/moodle/BIT-moodle-2026-102585.json"
}
}
]- Related CVEs
- CVE-2026-102585
Source reference:
/aliases
Publisher severity
medium
Source reference: /database_specific/severity
- Event
- #84028 · Revision 1
- Added to Heist Feed
- Publisher date