CVE-2026-102579

Information Exposure
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. The gradebook's user search widget lists the users who can be graded in a course. The list is loaded through the core_grades_get_gradable_users web service, which returns each user's name, picture and identity fields such as email address.

An Information Exposure vulnerability (CVE-2026-102579) has been identified in the gradable users web service of Moodle and IOMAD, which allows a student to access profile information of other students in the same course that they do not have permission to view. Moodle tracks this issue as MSA-26-0032 (MDL-89381).

Per MITRE CWE-359: The product does not properly prevent a person's private, personal information from being accessed by actors who either (1) are not explicitly authorized to access the information or (2) do not have the implicit consent of the person about whom the information is collected.

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 Medium-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 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N). Moodle rates it Serious.

The web service validates the course context and then requires a single capability before returning the user list:

$coursecontext = \context_course::instance($params['courseid']);
parent::validate_context($coursecontext);

require_capability('moodle/course:viewparticipants', $coursecontext);

The capability used, moodle/course:viewparticipants, is the one that lets a user see the participants list, and students commonly hold it. The data returned by this service goes further than that list, because it includes user identity fields. Those fields are normally reserved for users with moodle/site:viewuseridentity. A student could call the service directly and obtain identity details of other students in the course.

The caller must be enrolled in the course and hold the participants capability. Only users in that course are exposed, and group restrictions already applied.

The fix changes the check to the capability that governs access to user identity fields:

$coursecontext = \context_course::instance($params['courseid']);
parent::validate_context($coursecontext);

require_capability('moodle/site:viewuseridentity', $coursecontext);

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

  • Itamarperetz2c7cc5 (finder)
  • David Woloszyn (remediation)
Vulnerability Details
Severity
Level
CVSS Assessment
Low
>=0 <4
Medium
>=4 <6
High
>=6 <8
Critical
>=8 <10
Medium
ID
CVE-2026-102579
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
Information Exposure
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.