Intel

AIKIDO-2026-46193

learnpress is vulnerable to PHP Object Injection

CVE-2026-104736Published Nov 4, 2026
November 4, 2026

95

CVE Score

Critical

PHP Object Injection

Are you affected? Scan for Free

TL;DR

The checkout AJAX handler in LP_Checkout reads the checkout-email request parameter through sanitize_text_field(), which leaves PHP serialized object syntax intact, and stores the raw value in the LearnPress session table. On subsequent requests LP_Session_Handler::get() passes that stored value to LP_Helper::maybe_unserialize(), which calls unserialize() without restricting allowed_classes. An unauthenticated attacker can submit a crafted serialized payload during checkout and have it deserialized into an arbitrary PHP object, enabling PHP Object Injection and, with a suitable gadget chain present on the site, remote code execution, file deletion, or data disclosure. The fix sanitizes checkout-email as an email address and unserializes session data with allowed_classes set to false.

How do I fix this?

Upgrade the learnpress and/or the LearnPress library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

0.0.1 - 4.4.9.1

Fixed in 4.4.10

Background info

learnpress is vulnerable to PHP Object Injection in versions 0.0.1 - 4.4.9.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea