CVE-2026-124990: Masteriyo LMS – LMS Course Builder, Quizzes & Certificates · Unsafe deserialization
Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-18
Description
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.
Enclave's analysis
Masteriyo LMS for WordPress (up to 3.5.1) deserializes attacker-controlled postmeta values from an uploaded JSON course-import file, giving PHP Object Injection. Unauthenticated exploitation only works if guest checkout and instructor self-registration are both turned on and a purchasable course exists — not the default setup. On a normal install, the attacker needs author-level access first. No public exploit or in-the-wild activity has been seen; patch to 3.5.2.
Fix
Upgrade Masteriyo LMS – LMS Course Builder, Quizzes & Certificates (WordPress plugin) to 3.5.2. No fixed version is listed for Masteriyo LMS – LMS Course Builder, Quizzes & Certificates; follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| Masteriyo LMS – LMS Course Builder, Quizzes & Certificates | 0 through 3.5.1 | Not listed |
| Masteriyo LMS – LMS Course Builder, Quizzes & Certificates (WordPress plugin) | <= 3.5.1 | 3.5.2 |