Masteriyo LMS <= 3.5.1 - Unauthenticated PHP Object Injection via 'file' Parameter
CVE-2026-124990Published 18 Nov 2026, 15:33 UTC
Real-world risk
8.5/ 10High
Patch this week; within 48 h if Internet-facing
PreliminaryFrom the CVSS vector only · confidence low
CVSS
9.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Wordfence)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Masteriyo - LMSNiche | <= 3.5.1 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.6% chance of exploitation in 30 days (percentile 48), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 1 × threat 0.858.500
- Rounded to one decimal between 0.1 and 108.5
Exploitation and evidence timeline
- 18 Nov 2026 Published
- 3 Dec 2026 Risk 8.5 (cvss fallback)
Weakness
CWE-502
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d3aca4ff-b921-489d-9fc0-9bbecb19c8f5?source=cve
- https://plugins.trac.wordpress.org/browser/learning-management-system/tags/3.5.1/includes/Importer/CourseImporter.php#L288
- https://plugins.trac.wordpress.org/browser/learning-management-system/tags/3.5.1/includes/RestApi/Controllers/Version1/CoursesImportExportController.php#L568
- https://plugins.trac.wordpress.org/browser/learning-management-system/tags/3.5.1/includes/Checkout.php#L396
- https://plugins.trac.wordpress.org/browser/learning-management-system/tags/3.5.1/vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php#L45
- https://plugins.trac.wordpress.org/browser/learning-management-system/tags/3.5.2
- CVE-2026-124990 on CVE.org