CVE-2024-56143: Strapi authorization bypass in lookup operator

CVE-2024-56143 · Severity: low · CVSS 3.1 · Published 2025-10-16

Strapi, a popular open-source headless CMS, contains an authorization flaw in its lookup query operator that allows unauthenticated attackers to filter and extract private fields including admin passwords and password reset tokens. An attacker can exploit this by crafting specially formatted URL parameters to enumerate sensitive data and gain full administrative access to the Strapi instance without requiring any valid credentials.

Technologies: @strapi/core (npm). Vendors: npm.

Quick answers

Is CVE-2024-56143 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-56143 being exploited in the wild.
How severe is CVE-2024-56143?
Low severity, with a CVSS score of 3.1, published 16 October 2025.
Which products and versions are affected?
@strapi/core (npm) SEMVER:introduced=5.0.0,fixed=5.5.2.
Is there a fix for CVE-2024-56143?
Yes. @strapi/core (npm): upgrade to 5.5.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2024-56143 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2024-56143?
Check whether you run @strapi/core (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • @strapi/core (npm): upgrade to 5.5.2 or later
    npm install @strapi/core@5.5.2

Technical details

The vulnerability exists in Strapi's document service lookup operator (introduced in version 5.0.0), which fails to properly sanitize and filter access control checks for private fields. An unauthenticated, network-based attacker can construct HTTP requests with lookup parameters targeting protected fields such as admin passwords and reset tokens (e.g., `lookup[updatedBy][password][$startsWith]=$2`) to perform pattern-matching attacks. The lookup operator was not designed with proper authorization enforcement, allowing the attacker to iteratively filter results and eventually extract sensitive credentials. The vulnerability affects Strapi versions 5.0.0 through 5.5.1 and has been patched in version 5.5.2 via commit 0c6e095, which removes the lookup parameter from the document service.

Affected products

  • Strapi @strapi/core >= 5.0.0, < 5.5.2

Identifiers

  • CVE-2024-56143
  • GHSA-495j-h493-42q2

Timeline

  • 2025-10-16: disclosed
  • 2025-10-16: patched: Version 5.5.2 and later
  • 2025-10-16: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.