CVE-2023-22894: Private-field filtering information disclosure in Strapi
- Vendor
- Strapi
CVE-2023-22894 is an information-disclosure vulnerability in Strapi that allows attacker-controlled query filters to reference private user-model fields. Differences in API results provide an oracle for inferring sensitive values, including password hashes and password reset tokens, even when those fields are omitted from responses. Affected user-controller operations include find, findOne, and count; the vulnerable find implementation passes unsanitized query parameters to the user service. The vendor-identified affected range is 3.2.1 through 4.7.9, with a fix in 4.8.0; the original CVE description identifies the narrower range through 4.5.5. Exposure depends on account permissions and accessible model relationships.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the confidentiality of private user data. Super administrators can infer password hashes and password reset tokens for all users. Lower-privileged admin-panel accounts with permission to access API users' usernames and email addresses can infer sensitive information for all API users, but not other administrator accounts through that access path. Publicly accessible collections with account relationships can additionally expose administrator data under susceptible configurations. Recovered reset tokens can enable account takeover. Chaining the disclosure with CVE-2023-22621 can enable remote code execution; code execution is not a direct capability of this vulnerability alone.
Mitigation
If you can’t patch tonight, do this now.
Restrict admin-panel access to trusted users and networks, and minimize roles permitted to enumerate users. Enforce strict allowlists for queryable fields, operators, and relationship traversals, excluding private attributes before ORM query execution. Review public collection permissions and account relationships to prevent public queries from reaching sensitive user models. These restrictions reduce exposure but do not replace upgrading.
Remediation
Patch, then assume compromise.
Upgrade affected Strapi installations to a currently supported release containing the fix introduced in 4.8.0 and subsequent security fixes. Version 4.8.0 introduced query sanitization before user-service execution, preventing private fields from influencing permitted filters. Custom controllers should sanitize queries using the applicable Strapi query-sanitization API before fetching users. Do not treat the original patch as protection against all related issues: CVE-2023-34235 subsequently bypassed that fix. Replace unsupported deployments rather than retaining an end-of-life release.
Exploits
2 exploits validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-22894 exploited in the wild?
- Yes. As of Nov 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Oct 8, 2026.
- Is there a public exploit for CVE-2023-22894?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2023-22894, the earliest disclosed Apr 24, 2023.
- Is there a patch for CVE-2023-22894?
- Upgrade affected Strapi installations to a currently supported release containing the fix introduced in 4.8.0 and subsequent security fixes. Version 4.8.0 introduced query sanitization before user-service execution, preventing private fields from influencing permitted filters.
- What products are affected by CVE-2023-22894?
- Strapi.
- How severe is CVE-2023-22894?
- CVE-2023-22894 has a CVSS v3.1 score of 4.9 (Medium) and an EPSS score of 4.1% (91st percentile) as of Nov 16, 2026.
Recent activity
30 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.