CVE-2026-124990 is a critical (CVSS 9.8) PHP Object Injection flaw in the course importer of the Masteriyo LMS WordPress plugin, affecting versions up to and including 3.5.1.
What Is It
The vulnerability is a deserialization of untrusted input (CWE-502) in the Masteriyo LMS – LMS Course Builder, Quizzes & Certificates plugin for WordPress. In the course importer, the set_post_metas() method calls maybe_unserialize() on postmeta string values taken from an uploaded JSON import file. Because an attacker controls those values, they can inject arbitrary PHP objects.
The Wordfence-assigned CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, which rates it 9.8 (Critical): network-reachable, low complexity, and no privileges or user interaction required.
Why It Matters
Unauthenticated exploitation is possible, but only under a specific configuration. The site must have enable_instructor_registration=true and enable_guest_checkout=true, and at least one purchasable course must exist. According to the description, Install.php sets enable_instructor_registration=false on fresh installs, so this is a non-default setup.
On a default installation the attacker needs author-level access or higher. Sites that allow instructor registration and guest checkout carry the highest risk.
The CISA KEV entry supplied for this CVE is empty. KEV does not confirm active exploitation, and the supplied data includes no evidence of exploitation in the wild. NVD lists the record's status as "Deferred."
What's Vulnerable
- Vendor: masteriyo
- Product: Masteriyo LMS – LMS Course Builder, Quizzes & Certificates (WordPress plugin, slug
learning-management-system) - Affected versions: all versions up to and including 3.5.1
The references point to the import/export REST controller (CoursesImportExportController.php), the course importer (CourseImporter.php), checkout logic (Checkout.php), and a Guzzle FileCookieJar.php file bundled in the plugin's vendor directory.
Patch Status
The record lists versions through 3.5.1 as affected, and the references include the plugin's 3.5.2 tag. Administrators should update to a version later than 3.5.1. Until they can, they should check whether instructor registration and guest checkout are both enabled, and review which accounts hold author-level or higher access. The supplied data includes no CISA required action or due date.
Sources
- NVD – CVE-2026-124990
- CVE.org – CVE-2026-124990
- Wordfence Threat Intel advisory
- WordPress Plugin Trac – CourseImporter.php (3.5.1)
- WordPress Plugin Trac – CoursesImportExportController.php L210 (3.5.1)
- WordPress Plugin Trac – CoursesImportExportController.php L568 (3.5.1)
- WordPress Plugin Trac – Checkout.php (3.5.1)
- WordPress Plugin Trac – Guzzle FileCookieJar.php (3.5.1)
- WordPress Plugin Trac – 3.5.2 tag