CVE-2026-27886: Strapi - Broken Access Control
- Cve: CVE-2026-27886
- Name: Strapi - Broken Access Control
- Description: 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.
- Impact: Unauthenticated attackers can extract admin reset tokens and fully take over administrative accounts.
- Remediation: Upgrade to version 5.37.0 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: information_disclosure, privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.01916
- Epss percentile: 0.80273
- Assignee: [email protected]
- Published at: 2026-05-14T19:16:31Z
- Age in days: 194
- Modified at: 2026-11-11T20:10:00Z
- Patch available: yes
- Public exploits total: 3
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-27886
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, public exploits capped, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2026-27886 | https://github.com/projectdiscovery/nuclei-templates/blob/main/javascript/cves/2026/CVE-2026-27886.yaml |
Hackerone
- Reports: 9
- Rank: 2221
Public exploits
Same in every row:
- Source: poc-in-github
| Url | Added date |
|---|---|
| https://github.com/thesw0rd/CVE-2026-27886-PoC-Account-Takeover | 2026-06-08 |
| https://github.com/EvtDanya/CVE-2026-27886 | 2026-06-01 |
| https://github.com/BishopFox/CVE-2026-27886-check | 2026-05-22 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/strapi/strapi/security/advisories/GHSA-rjg2-95x7-8qmx | nvd | Vendor Advisory |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/javascript/cves/2026/CVE-2026-27886.yaml | nuclei_template | Nuclei Template |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| strapi:strapi | >= 4.0.0, < 5.37.0 | no | nvd | /v1/products/strapi/strapi |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| strapi/strapi | package, security_advisory | yes | /v1/repositories/strapi/strapi |
Index
- Repositories: 2
- Packages: 1
- Checked, none or zero: repositories high signal
Exploitation
- Public exploit: yes
- Public exploit count: 3
- Public exploit first date: 2026-05-22
- Remote: yes
- Hackerone reports: 9
- Exposed hosts: 27642
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, initial access since