Home / strapi / strapi / CVE-2026-27886
CVE-2026-27886: is it exploited, and which versions of strapi are affected and fixed?
CVE-2026-27886 is a path traversal (reading or writing files outside the intended folder) vulnerability in strapi. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: @strapi/strapi from 4.0.0 before 5.37.0 (GitHub advisory GHSA-rjg2-95x7-8qmx). Fixed in 5.37.0 (GitHub advisory GHSA-rjg2-95x7-8qmx). Severity: Critical (9.2, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-27886?
Strapi may leak sensitive data via relational filtering due to lack of query sanitization
Strapi is an open source headless content management system. Strapi versions starting in 4.0.0 and prior to 5.37.0 did not sufficiently sanitize query parameters when filtering content via relational fields. An unauthenticated attacker could use the `where` query parameter on any publicly-accessible content-type with an `updatedBy` (or other admin-relation) field to perform a boolean-oracle attack against private fields on the joined `admin_users` table, including the `resetPasswordToken` field. Extracting an admin reset token via this oracle made full administrative account takeover possible without authentication. When a filter such as `where[updatedBy][resetPasswordToken][$startsWith]=a` was applied to a public Content API endpoint, the underlying query generation performed a `LEFT JOIN` against the `admin_users` table and emitted a `WHERE` clause referencing the joined column. The query parameter sanitization layer did not block operator chains that traversed into relational target schemas the caller had no read permission on, allowing the response count to be used as a one-bit oracle on any admin-table field. The patch in version 5.37.0 introduces explicit query-parameter sanitization at the controller and service boundary via three new primitives: `strictParam`, `addQueryParams`, and `addBodyParams`. Operator chains that traverse into restricted relational targets are now rejected before reaching the database.
From the CVE record by GitHub_M, last updated May 14, 2026, 19:50 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| strapi | strapi | >= 4.0.0, < 5.37.0 |
As the CVE record by GitHub_M states it, last updated May 14, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @strapi/strapi | >= 4.0.0, < 5.37.0 | 5.37.0 | GHSA-rjg2-95x7-8qmx |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 15, 2026. Summary: Strapi may leak sensitive data via relational filtering due to lack of query sanitization.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| strapi | strapi | from 4.0.0 before 5.37.0 | application |
NVD analysis (status Analyzed), last modified November 11, 2026, 20:10 UTC.
How severe is CVE-2026-27886?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.2 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-27886 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, May 14, 2026)
- EPSS
- 1.92% probability of exploitation activity in the next 30 days, percentile 80.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- CWE-943 Improper Neutralization of Special Elements in Data Query Logic
Where are the vendor advisories and references?
- https://github.com/strapi/strapi/security/advisories/GHSA-rjg2-95x7-8qmx x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- February 24, 2026
- Published
- May 14, 2026, 18:43 UTC
- CVE record updated
- May 14, 2026, 19:50 UTC by GitHub_M
- NVD
- Analyzed, last modified November 11, 2026, 20:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect strapi?
- Apr 19, 2023CVE-2023-22894 Strapi: sensitive data stored in clear text exploited
- Oct 10, 2026CVE-2026-108114 strapi: incorrect authorization
- Sep 13, 2026CVE-2026-90561 strapi: cross-site scripting (XSS)
- Jun 29, 2026CVE-2026-57997 strapi: broken or risky cryptography
- May 14, 2026CVE-2026-22707 strapi: unrestricted file upload
- May 14, 2026CVE-2026-22706 strapi: session does not expire
- May 14, 2026CVE-2026-22599 strapi: SQL injection
- May 14, 2026CVE-2025-64526 strapi: no limit on login attempts (brute force)
Questions about CVE-2026-27886
Is CVE-2026-27886 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 1.92% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of strapi are affected by CVE-2026-27886?
@strapi/strapi from 4.0.0 before 5.37.0, per the GitHub advisory GHSA-rjg2-95x7-8qmx. The tables above give every range the sources list.
Which version fixes CVE-2026-27886?
5.37.0, per the GitHub advisory GHSA-rjg2-95x7-8qmx. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-27886?
Critical (9.2, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-27886?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.