Masteriyo Lms Online Course Builder For Elearning Lms Education
EUVD-2026-16074
|
CVE-2026-4484
HIGH
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
The Masteriyo LMS plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 2.1.6. This is due to the plugin allowing a user to update the user role through the 'InstructorsController::prepare_object_for_database' function. This makes it possible for authenticated attackers, with Student-level access and above, to elevate their privileges to that of an administrator.
AnalysisAI
The Masteriyo LMS plugin for WordPress contains a critical privilege escalation vulnerability that allows authenticated users with Student-level access or higher to elevate their privileges to administrator level. All versions up to and including 2.1.6 are affected. The vulnerability is exploitable over the network with low attack complexity and requires no user interaction, resulting in a critical CVSS score of 9.8, though the CVSS vector indicates no authentication required (PR:N) which conflicts with the description stating Student-level access is needed.
Technical ContextAI
The vulnerability affects the Masteriyo LMS WordPress plugin (cpe:2.3:a:masteriyo:masteriyo_lms_-_online_course_builder_for_elearning,_lms_&_education), specifically in the InstructorsController::prepare_object_for_database function within the REST API v1 controller. The root cause is classified as CWE-862 (Missing Authorization), meaning the application fails to properly verify that a user is authorized to modify their own role attribute when updating instructor objects through the REST API. The vulnerable code at line 305 of InstructorsController.php allows user role data to be passed directly into the database preparation function without sufficient authorization checks, enabling authenticated users to manipulate their role assignment during instructor profile updates.
RemediationAI
Upgrade the Masteriyo LMS plugin to version 2.1.7 or later, which addresses the privilege escalation vulnerability through changes to the InstructorsController as documented in changeset 3490792 at https://plugins.trac.wordpress.org/changeset/3490792/learning-management-system/trunk/includes/RestApi/Controllers/Version1/InstructorsController.php. Site administrators should verify the plugin version immediately through the WordPress admin dashboard and apply updates. Until patching is completed, consider temporarily disabling the Masteriyo LMS plugin if it is not actively required, or restrict REST API access to the /wp-json/masteriyo/v1/instructors endpoint through web application firewall rules or .htaccess restrictions. Review WordPress user accounts for any suspicious administrator-level accounts that may have been created through exploitation, and audit recent user role changes in the WordPress database wp_usermeta table for the wp_capabilities meta_key.
Same weakness CWE-862 – Missing Authorization
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
GHSA-6m8q-32w5-c768