CVE-2026-27886

HIGH

Strapi may leak sensitive data via relational filtering due to lack of query sanitization

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 3 public exploits for CVE-2026-27886. PoCs published by thesw0rd, EvtDanya, BishopFox.

AI-analyzed exploit summary This repository contains a functional exploit for CVE-2026-27886, automating an account takeover in Strapi CMS by enumerating admin emails, triggering password resets, and exfiltrating reset tokens via a boolean oracle attack.

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.

Exploits (3)

github WORKING POC
by thesw0rd · pythonpoc
https://github.com/thesw0rd/CVE-2026-27886-PoC-Account-Takeover

This repository contains a functional exploit for CVE-2026-27886, automating an account takeover in Strapi CMS by enumerating admin emails, triggering password resets, and exfiltrating reset tokens via a boolean oracle attack.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: Strapi CMS (versions before 5.37.0)
No auth needed
Prerequisites: Access to a public Strapi Content API endpoint · Network connectivity to the target
devstral-2 · analyzed Jun 08, 2026 Full analysis →
github WORKING POC
by EvtDanya · pythonpoc
https://github.com/EvtDanya/CVE-2026-27886

This repository contains a functional Python PoC and a Nuclei template for detecting and exploiting CVE-2026-27886, a Strapi Content API vulnerability involving improper query sanitization leading to information leakage. The PoC performs a differential check and can enumerate sensitive fields via a startsWith oracle.

Classification
Working Poc 100%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Strapi Content API
No auth needed
Prerequisites: Publicly accessible Strapi Content API endpoint with at least one record visible to the Public role
devstral-2 · analyzed Jun 01, 2026 Full analysis →
github SCANNER
by BishopFox · pythonpoc
https://github.com/BishopFox/CVE-2026-27886-check

This repository contains a non-destructive vulnerability scanner for CVE-2026-27886, which detects a Strapi Content API parameter sanitization bypass by comparing pagination totals from baseline and crafted requests. It also enumerates the administrator's email address on vulnerable instances but does not perform full account takeover.

Classification
Scanner 100%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Strapi versions 4.0.0 through 5.36.1
No auth needed
Prerequisites: Publicly accessible Strapi Content API endpoint with at least one record
devstral-2 · analyzed May 23, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 7.5
EPSS 0.0006
EPSS Percentile 18.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-200 CWE-22 CWE-943
Status published
Products (3)
strapi/strapi 4.0.0 - 5.37.0npm
strapi/strapi 4.0.0 - 5.37.0
strapi/strapi >= 4.0.0, < 5.37.0
Published May 14, 2026
Tracked Since May 15, 2026