CVE-2026-102585 PUBLISHED

Moodle: group validation missing when enrolling user to course

Assigner: fedora
Reserved: 29.09.2026 Published: 30.09.2026 Updated: 30.09.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
CVSS Score: 4.3

Product Status

Package Collection https://git.moodle.org
Package Name moodle
Versions Default: unaffected
  • affected from 5.2.0 to 5.2.2 (excl.)
  • affected from 5.1.0 to 5.1.6 (excl.)

Credits

  • Upstream acknowledges Paul Holden as the original reporter.

References

Problem Types

  • Placement of User into Incorrect Group CWE