CVE-2026-124990: Masteriyo LMS PHP object injection vulnerability
published 2026-11-18
- Affected versions
- 3.5.1 and older
- Fixed in
- 3.5.2 *
- Latest version
- 3.5.2
- Active installs
- 6,000+
- Type
- PHP object injection
* The source does not name a fixed version; this is the first wordpress.org release after the last affected version.
What to do now
- Update Masteriyo LMS to 3.5.2 or newer: Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- Not sure which version you run? Check your version against every known Masteriyo LMS issue.
With WP-CLI:
wp plugin get learning-management-system --field=version. - If you ran an affected version and something looks off (new admin users, spam pages, redirects), run the free scan below.
Is your site exposed to CVE-2026-124990?
- Are you on an affected version? Compare your Masteriyo LMS version with every known issue on record. Check my version
- Has your site already been hit? The free scan looks for signs of a hack from the outside. It cannot see plugin versions or test for this bug.
- Already hacked? Flat $499 for a standard cleanup. Nothing is charged until we have looked at your site and confirmed the job. See how cleanup works
What an attacker needs
- Access: None. No account or login is needed.
Technical details
Weakness
PHP object injection CWE-502
Untrusted data is unserialized, which lets an attacker supply PHP objects of their choosing.
The effect depends on what other code is installed. With a usable class chain, it can lead to file changes or code execution.
General description of this issue type. The advisory below covers this bug.
CVSS 3.1 breakdown
- Attack vector
- Network (remote)
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
CVSS vector (scored by Wordfence): CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
The advisory
The Masteriyo LMS – LMS Course Builder, Quizzes & Certificates plugin for WordPress is vulnerable to PHP Object Injection in versions up to, and including, 3.5.1 via deserialization of untrusted input in the course importer. The set_post_metas() method calls maybe_unserialize() on attacker-controlled postmeta string values parsed from the uploaded JSON import file. This makes it possible for unauthenticated attackers to inject arbitrary PHP Objects. Exploitation by unauthenticated attackers requires that the site has enable_instructor_registration=true AND enable_guest_checkout=true AND at least one purchasable course exists. Install.php sets enable_instructor_registration=false on fresh installs, so this is a non-default configuration. On a default installation, where that is not configured, the vulnerability requires attackers with author-level access and above.
References
- NVD CVE-2026-124990 nvd.nist.gov
- Wordfence advisory www.wordfence.com
- Plugin source plugins.trac.wordpress.org
How Laskyr cleans up a site hacked through Masteriyo LMS
We confirm the job by email before any payment, remove the infection, harden the site and report how they got in. A standard cleanup is $499 with a 30-day reinfection guarantee. Bigger jobs get a written estimate first, and nothing more is charged unless you approve it. Full details.
Related
Ran an affected version? Run the free scan for signs of a hack.
Where this data comes from
- CVE record, score and references: NIST National Vulnerability Database (NVD), checked 2026-11-29. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Versions and install counts: wordpress.org/plugins/learning-management-system (Plugins API), fetched 2026-11-28.
- Everything outside the quoted description is our plain-English reading of the record and the plugin's release history. The CWE is the standard one for this issue type. Spot an error? Email Daniel.