#WordPress Security

CVE-2026-124990: PHP Object Injection Vulnerability in Masteriyo LMS

The Masteriyo LMS plugin for WordPress has a critical vulnerability allowing PHP object injection.

CVE-2026-124990: PHP Object Injection Vulnerability in Masteriyo LMS

Introduction

The Masteriyo LMS – LMS Course Builder, Quizzes & Certificates plugin for WordPress has a critical vulnerability that can be exploited by unauthenticated attackers. This vulnerability allows for PHP object injection through the deserialization of untrusted input.

What happened?

The vulnerability was identified in the course import functionality of the plugin. The set_post_metas() method calls maybe_unserialize() on postmeta values controlled by the attacker, parsed from an uploaded JSON file. This allows unauthenticated attackers to inject arbitrary PHP objects.

How the vulnerability works

The vulnerability occurs due to the deserialization of untrusted data. When an attacker uploads a malicious JSON file, they can manipulate the data to inject PHP objects that can be used to compromise the site. For exploitation to be successful, the site configuration must allow instructor registration and guest checkout, and there must be at least one purchasable course available.

What is the real impact?

The impact of this vulnerability is significant, as it allows for arbitrary code execution on the server, which can lead to severe security compromises, such as unauthorized access to sensitive data, full control of the site, and potential damage to the business's reputation.

Which versions are affected?

  • Up to 3.5.1

How to fix

  1. Check the version of the Masteriyo LMS plugin installed on your site.
  2. Update the plugin to the fixed version as soon as it becomes available. The fixed version should be confirmed in the vendor's advisory.
  3. Review your site settings to ensure that the enable_instructor_registration and enable_guest_checkout options are disabled if not needed.
  4. Consider disabling the plugin until the fix is available and tested.

Mitigation while waiting to update

While an update is not possible, it is recommended to disable the course import functionality and review user permissions to limit access to sensitive features.

Conclusion

The CVE-2026-124990 vulnerability in the Masteriyo LMS plugin poses a significant risk to WordPress sites. It is crucial for site administrators to take immediate action to mitigate the risks associated with this vulnerability.

// Fontes

  1. NVD — CVE-2026-124990 nvd.nist.gov ↗
  2. CVE.org — CVE-2026-124990 cve.org ↗
  3. plugins.trac.wordpress.org plugins.trac.wordpress.org ↗
  4. plugins.trac.wordpress.org plugins.trac.wordpress.org ↗
  5. plugins.trac.wordpress.org plugins.trac.wordpress.org ↗
  6. plugins.trac.wordpress.org plugins.trac.wordpress.org ↗
  7. plugins.trac.wordpress.org plugins.trac.wordpress.org ↗
  8. plugins.trac.wordpress.org plugins.trac.wordpress.org ↗
  9. Wordfence wordfence.com ↗

// ++ — related