Summary
CVE-2026-124990 is a critical PHP Object Injection (CWE-502, deserialization of untrusted data) vulnerability in the Masteriyo LMS – LMS Course Builder, Quizzes & Certificates plugin for WordPress. It affects versions through 3.5.1 and carries a CVSS v3.1 base score of 9.8 (Critical).
Technical details
- Root cause: the course importer’s
set_post_metas()method callsmaybe_unserialize()on attacker-controlled postmeta string values taken from an uploaded JSON file. - Trigger conditions: an authenticated attacker with author-level access can exploit a default installation. Unauthenticated exploitation requires specific site configurations: instructor registration and guest checkout enabled, with purchasable courses.
- Attack vector: network, through the course import functionality.
- Impact: PHP Object Injection, with potential high impact on confidentiality, integrity and availability (C:H/I:H/A:H).
Affected software
- Masteriyo LMS – LMS Course Builder, Quizzes & Certificates (WordPress plugin): all versions through 3.5.1.
Severity
- CVSS v3.1 base score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: upgrade the plugin to a version later than 3.5.1 (3.5.2 or newer is listed as the fixed release).
- Until patched: restrict author and instructor-level account creation, disable instructor registration and guest checkout where they are not needed, and limit access to the course import functionality.

