CVE-2024-56143: @strapi/core Strapi Allows Unauthorized Access To Vulnerability
HIGHCVE-2024-56143 is a HIGH (CVSS 8.2) strapi allows unauthorized access to vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting @strapi/core libraries in the npm ecosystem. The issue involves strapi allows unauthorized access to private fields via parms.lookup. Remediation is available by upgrading affected packages to version 5.5.2.
CVE-2024-56143 at a Glance
Security Impact
CVSS: 8.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N).
How to Fix CVE-2024-56143
To remediate this vulnerability, upgrade all affected @strapi/core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @strapi/core@5.5.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @strapi/core
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2024-56143, inspect your project dependencies using npm:
npm ls @strapi/core
Analyze the terminal output to locate any version of @strapi/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.5.2), your application is affected.
Note: The npm ls @strapi/core command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In @strapi/core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-56143 Affected @strapi/core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@strapi/core
|
npm |
≥ 5.0.0
< 5.5.2
|
5.5.2
|
References
Frequently Asked Questions
What is CVE-2024-56143?
Which @strapi/core versions are affected?
What version fixes CVE-2024-56143?
Is @strapi/core affected?
What is the CVSS score of CVE-2024-56143?
What CWE is associated with CVE-2024-56143?
How can I check npm dependencies for CVE-2024-56143?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-495j-h493-42q2",
"modified" : "2025-10-16T20:42:12Z",
"published" : "2025-10-16T18:22:40Z",
"aliases" : [ "CVE-2024-56143" ],
"summary" : "Strapi Allows Unauthorized Access to Private Fields via parms.lookup",
"details" : "### Summary\nIt's possible to access any private fields by filtering through the lookup parameters\n\n### Details\n\nUsing the new lookup operator provided by the document service in Strapi 5, it is not properly sanitizing this query operator for private fields.\n\n### PoC\n\n1. Create a strapi app.\n2. Create a content-type\n3. In the content-type you make a new entry\n4. Go back to the list view\n4. Add `&lookup[updatedBy][password][$startsWith]=$2` to the end of your url (All passwords start with $2) see that all entries are still there\n6. Add `&lookup[updatedBy][password][$startsWith]=$3` see the entry disappear proving that the search above works\n\n### Impact\n\nAn 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@strapi/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.5.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/strapi/strapi/security/advisories/GHSA-495j-h493-42q2"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-56143"
}, {
"type" : "WEB",
"url" : "https://github.com/strapi/strapi/commit/0c6e0953ae1e62afae9329de7ae6d6a5e21b95b8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/strapi/strapi"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-639" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-16T18:22:40Z",
"nvd_published_at" : "2025-10-16T16:15:36Z"
}
}