CVE-2024-56143: Strapi Allows Unauthorized Access to Private Fields via parms.lookup

Published Oct 16, 2025
·
Updated

Summary It's possible to access any private fields by filtering through the lookup parameters

Details

Using the new lookup operator provided by the document service in Strapi 5, it is not properly sanitizing this query operator for private fields.

PoC

1. Create a strapi app. 2. Create a content-type 3. In the content-type you make a new entry 4. Go back to the list view 4. Add &lookup[updatedBy][password][$startsWith]=$2 to the end of your url (All passwords start with $2) see that all entries are still there 6. Add &lookup[updatedBy][password][$startsWith]=$3 see the entry disappear proving that the search above works

Impact

An attacker can perform filtering attacks on everything related to the object, including admin passwords and reset-tokens. This means that they can gain full access to the strapi instance.

Other sources

Strapi is an open-source headless content management system. In versions from 5.0.0 to before 5.5.2, the lookup operator provided by the document service does not properly sanitize query parameters for private fields. An attacker can access private fields, including admin passwords and reset tokens, by crafting queries with the lookup parameter. This vulnerability is fixed in 5.5.2.

MITRE

Affected Software

3 affected componentsFixes available
Strapi Strapi>=5.0.0<5.5.2
npm/@strapi/core>=5.0.0<5.5.2
5.5.2
Strapi Strapi>=5.0.0<5.5.2

Event History

Oct 16, 2025
CVE Published
via MITRE·04:07 PM
Data Sourced
via MITRE·04:07 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
RemedyAffected Software
Advisory Published
via GitHub·06:22 PM
Data Sourced
via GitHub·06:22 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-56143?

CVE-2024-56143 is considered a high severity vulnerability due to its potential to expose sensitive private fields.

2

How do I fix CVE-2024-56143?

To resolve CVE-2024-56143, update Strapi to version 5.5.2 or later to ensure proper sanitization of query parameters.

3

What versions of Strapi are affected by CVE-2024-56143?

CVE-2024-56143 affects Strapi versions from 5.0.0 to before 5.5.2.

4

What kind of data can be accessed due to CVE-2024-56143?

Due to CVE-2024-56143, attackers can potentially access private fields, including sensitive information like admin passwords.

5

Is there a workaround for CVE-2024-56143 if I cannot update Strapi immediately?

There are no recommended workarounds for CVE-2024-56143, so updating to a secure version is essential.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203