# CVE-2026-102585: Moodle group enrollment authorization bypass

Source: https://junglewise.ai/threats/cve-2026-102585-a-flaw-was-found-in-moodle-when-enrolling-a-user-into-a-course  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-30. Updated: 2026-09-30  
License: CC BY 4.0 with a link back

CVE-2026-102585 · Severity: medium · CVSS 4.3 · Published 2026-09-30

Moodle is an open-source learning management system used by educational institutions to manage courses and student enrollment. A teacher with access to one course can exploit this vulnerability to add students to groups in courses they should not have access to, potentially exposing student data or disrupting course structure.

Technologies: [Moodle](https://junglewise.ai/threats/technologies/moodle). Vendors: [Moodle](https://junglewise.ai/threats/vendors/moodle).

## Quick answers

**Is CVE-2026-102585 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-102585 being exploited in the wild.

**How severe is CVE-2026-102585?** Medium severity, with a CVSS score of 4.3, published 30 September 2026.

**Which products and versions are affected?** Moodle <UNKNOWN>.

**Is there a fix for CVE-2026-102585?** A patch was published on 2026-04-23: Fix committed to repository (commit 1dc0790) Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-102585 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-102585?** Check whether you run Moodle at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability exists in Moodle's manual enrollment functionality, where the application fails to validate that a selected group actually belongs to the target course during user enrollment. An authenticated teacher can exploit this by crafting an enrollment request with a group ID from one course to add users to an unauthorized course, bypassing authorization checks. A fix has been committed to the repository (commit 1dc0790, April 23, 2026).

## Affected products

- Moodle Moodle <UNKNOWN>

## Timeline

- 2026-09-30: disclosed
- 2026-04-23: patched: Fix committed to repository (commit 1dc0790)

## References

- [https://git.moodle.org/](https://git.moodle.org/)
- [http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88538](http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88538)

## Related threats

- [Moodle insufficient access control in H5P content files](https://junglewise.ai/threats/cve-2026-123655-a-flaw-was-found-in-moodle-insufficient-access-control-checks-on)
- [Moodle missing capability check in core_grades_get_gradeitems](https://junglewise.ai/threats/cve-2026-119556-moodle-4-2-0-through-4-5-15-5-0-0-through-5-0-11-5-1-0-through-5)
- [Moodle core_grades_get_feedback information disclosure](https://junglewise.ai/threats/cve-2026-119555-moodle-4-2-0-through-4-5-15-5-0-0-through-5-0-11-5-1-0-through-5)
- [Moodle SQL injection in External database enrolment plugin](https://junglewise.ai/threats/cve-2026-119554-moodle-5-3-0-5-2-0-through-5-2-4-5-1-0-through-5-1-8-5-0-0)
- [Moodle path traversal in Blackboard question import](https://junglewise.ai/threats/cve-2026-119553-moodle-5-3-0-5-2-0-through-5-2-4-5-1-0-through-5-1-8-5-0-0)
