CVE-2026-102582

Authorization Bypass
Affects
Moodle, IOMAD
in
Moodle
No items found.
Versions
<4.5.13, >=5.0.0 <5.0.9, >=5.1.0 <5.1.6, >=5.2.0 <5.2.2

Patch Available.

Exclamation circle icon
Patch Available

This Vulnerability has been fixed in the Never-Ending Support (NES) version offered by HeroDevs.

Overview

Moodle is an open source learning management system written in PHP. Schools, universities, and companies use it to run online courses. IOMAD is a multi-tenant distribution of Moodle that lets one installation serve several companies or organizations; it is built on Moodle core and shares the affected code. Manual enrolment (enrol_manual) lets teachers and managers add users to a course by hand. Administrators can disable an enrolment plugin site wide, which removes its links from the interface.

A Security Bypass vulnerability (CVE-2026-102582) has been identified in the manual enrolment management page of Moodle and IOMAD, which allows a user with enrolment permissions to keep managing manual enrolments after an administrator has disabled the plugin, by opening the page's URL directly. Moodle tracks this issue as MSA-26-0035 (MDL-88593).

Per MITRE CWE-425: The web application does not adequately enforce appropriate authorization on all restricted URLs, scripts, or files.

This issue affects all versions of Moodle before 4.5.13, versions 5.0.0 through 5.0.8, versions 5.1.0 through 5.1.5, and versions 5.2.0 through 5.2.1, including End-of-Life release lines such as Moodle 4.3. IOMAD releases built on these Moodle versions contain the same code and are affected as well.

Details

Module Info

Vulnerability Info

This Low-severity vulnerability is found in the moodle/moodle package in all versions of Moodle before 4.5.13, versions 5.0.0 through 5.0.8, versions 5.1.0 through 5.1.5, and versions 5.2.0 through 5.2.1, including End-of-Life release lines such as Moodle 4.3. IOMAD releases built on these Moodle versions contain the same code and are affected as well. The CVE record's CNA assigns it a CVSS 3.1 base score of 2.2 (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N). Moodle rates it Minor.

The management page (enrol/manual/manage.php) checks the user's capabilities on the course and loads the plugin. It only confirmed that the plugin class could be instantiated:

if (!$enrol_manual = enrol_get_plugin('manual')) {
    throw new coding_exception('Can not instantiate enrol_manual');
}

A disabled enrolment plugin can still be instantiated, so this test passes whether or not the administrator has turned manual enrolment off. Disabling the plugin hid the link to the page but did not stop the page from working. A user who knew or kept the URL could continue to enrol and unenrol users manually.

The user still needs the manual enrolment capabilities for the course, as the advisory notes. The issue lets an already authorized role bypass an administrative setting; it does not grant enrolment rights to anyone new.

The fix adds an explicit check that the plugin is enabled:

if (!$enrol_manual = enrol_get_plugin('manual')) {
    throw new coding_exception('Can not instantiate enrol_manual');
} else if (!enrol_is_enabled('manual')) {
    throw new moodle_exception('plugindisabled', 'core_enrol', '', get_string('pluginname', 'enrol_manual'));
}

Mitigation

Moodle publishes security fixes only for its supported release lines. Earlier release lines, including Moodle 4.3 and the IOMAD releases built on it, are End-of-Life and will not receive any public updates to address this issue.

Users of the affected components should apply one of the following mitigations:

  • Upgrade to Moodle 4.5.13, 5.0.9, 5.1.6, 5.2.2, or later, or to an IOMAD release built on one of those versions.
  • Leverage a commercial support partner like HeroDevs (NES for Moodle, NES for IOMAD) for post-EOL security support.

Credits

  • Paul Holden (finder, remediation)
Vulnerability Details
Severity
Level
CVSS Assessment
Low
>=0 <4
Medium
>=4 <6
High
>=6 <8
Critical
>=8 <10
Low
ID
CVE-2026-102582
PROJECT Affected
Moodle, IOMAD
Versions Affected
<4.5.13, >=5.0.0 <5.0.9, >=5.1.0 <5.1.6, >=5.2.0 <5.2.2
NES Versions Affected
Published date
September 30, 2026
≈ Fix date
October 12, 2026
Category
Authorization Bypass
Vex Document
Download VEXHow do I use it?
Sign up for the latest vulnerability alerts fixed in
NES for Moodle
Rss feed icon
Subscribe via RSS
or

By submitting the form I acknowledge receipt of our Privacy Policy.

Thanks for signing up for our Newsletter! We look forward to connecting with you.
Oops! Something went wrong while submitting the form.