Skip to main content

Strapi CVE-2026-27886

| EUVDEUVD-2026-30366 CRITICAL
Path Traversal (CWE-22)
2026-05-14 https://github.com/strapi/strapi GHSA-rjg2-95x7-8qmx
9.2
CVSS 4.0 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Access public Content API endpoint
  2. Delivery
    Craft relational filter query with private admin field
  3. Exploit
    Submit boolean-oracle requests iterating character set
  4. Install
    Observe response count for one-bit oracle
  5. C2
    Reconstruct full resetPasswordToken value
  6. Execute
    Submit extracted token to password reset endpoint
  7. Impact
    Change admin password
  8. Step 8
    Authenticate as administrator

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a publicly-accessible (unauthenticated) Strapi Content API endpoint serving a content-type that includes at least one admin-relation field-specifically updatedBy, createdBy, or publishedBy. These fields are present by default in nearly all Strapi content-types when draft/publish or audit features are enabled. Additionally, successful account takeover via the extracted resetPasswordToken requires that an administrator has initiated a password reset flow within the token's validity window (typically 10-60 minutes), meaning the resetPasswordToken column in the admin_users table is non-null. If no active reset token exists, the attacker can still extract other sensitive admin fields (email addresses, hashed passwords, personal names) via the same oracle technique, enabling credential stuffing or social engineering follow-on attacks. Limiting exploitation: authenticated-only API configurations (all content-types require JWT or API token) completely block this attack vector by removing the unauthenticated entry point. Private Strapi instances not exposed to the public internet (internal CMS, localhost development) have no remote attack surface. Strapi Cloud deployments are affected identically to self-hosted if running vulnerable versions. Default installations with public content-types and at least one published article/post are exploitable.

Impact

Critical priority for immediate remediation in internet-facing Strapi deployments. CVSS 9.3 accurately reflects the attack surface: network-accessible (AV:N), low complexity (AC:L), no authentication required (PR:N), no user interaction (UI:N), high confidentiality impact on both vulnerable and subsequent systems (VC:H, SC:H). The boolean-oracle technique is well-understood and automatable-a competent attacker can write a script to extract a 32-character reset token in under 1,000 requests (5 bits/char × 32 chars × ~6 guesses per character with hex charset). Administrative account compromise enables complete CMS control, including content manipulation, plugin installation for persistence, and database access. The vulnerability affects a broad installed base (Strapi powers 60,000+ production sites per GitHub stars) and specifically targets the default relational field pattern used in virtually all Strapi content-types. However, exploitation requires: (1) at least one public (unauthenticated) content-type endpoint, (2) that content-type must include an admin-relation field like updatedBy, and (3) the admin user must have an active resetPasswordToken value (non-null) in the database, which only exists temporarily after initiating a password reset flow. Deployments with fully authenticated APIs or those using custom authentication bypassing Strapi's reset mechanism face reduced risk. No EPSS score, KEV listing, or public POC available, indicating this is likely a researcher-discovered and responsibly disclosed bug rather than an exploited-in-wild threat. Still, the technical barrier is low and the impact severe-treat as high priority despite absence of observed exploitation.

Exploit ScenarioDerived

An attacker identifies a Strapi-powered blog at example.com running version 5.30.0 by fingerprinting the /admin login page. They discover the public /api/articles endpoint returns a list of blog posts, each with an updatedBy relation to admin users. The attacker scripts a boolean-oracle extraction attack: first, they query GET /api/articles?where[updatedBy][resetPasswordToken][$startsWith]=0 and observe the response count. If zero results, the token does not start with '0'; if non-zero, it does. They repeat with 1, 2...f, identifying the first character. Once the first character is known (say, 'a'), they query ?where[updatedBy][resetPasswordToken][$startsWith]=a0, a1...af to determine the second character. After 800-1000 requests over 10 minutes, they reconstruct the full 32-character reset token a3f7b2...9c8e. They then POST the extracted token to /admin/reset-password with a new password, gaining full administrative access to create malicious content, install backdoor plugins, or exfiltrate the customer database. The entire attack requires no authentication, no user interaction, and leaves minimal forensic trace beyond routine API access logs unless the regex IoC pattern is monitored.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – May 14, 2026

Boolean-oracle information disclosure in Strapi Content API allows remote unauthenticated attackers to extract admin password-reset tokens and achieve full administrative account takeover. Strapi versions 4.0.0 through 5.36.1 fail to sanitize relational query parameters on public content-type endpoints. By crafting where filters that traverse into joined admin_users table columns (e.g., where[updatedBy][resetPasswordToken][$startsWith]=a), attackers perform character-by-character oracle attacks against private admin fields, then use the extracted reset token to hijack administrator accounts. WildWest CyberSecurity reports this critical vulnerability with CVSS 9.3, affecting all Strapi deployments with public content-types containing admin-relation fields (updatedBy, createdBy, publishedBy). Vendor-released patch available in version 5.37.0. No active exploitation or public POC identified at time of analysis.

Earlier versions of this analysis (1)
v1 May 14, 2026 - 14:02

Remote unauthenticated attackers can extract admin reset tokens from Strapi CMS versions 4.0.0 through 5.36.1, enabling full administrative account takeover. Attackers exploit insufficient query parameter sanitization to perform boolean-oracle attacks against private admin_users table fields through public Content API endpoints that expose relational fields like updatedBy, createdBy, or publishedBy. By iterating through character combinations in filter queries, attackers extract the resetPasswordToken field byte-by-byte, then use it to reset admin passwords without authentication. Vendor-released patch available in version 5.37.0. No active exploitation confirmed in CISA KEV at time of analysis, though detailed exploitation indicators and techniques are publicly documented in the GitHub advisory.

RemediationAI

Upgrade to Strapi version 5.37.0 or later immediately, which introduces query-parameter sanitization primitives that block unauthorized relational traversal. Update via npm: npm install @strapi/strapi@5.37.0 or yarn: yarn upgrade @strapi/strapi@5.37.0, then restart the application. Verify the upgrade with npm list @strapi/strapi. If immediate patching is not feasible, implement these compensating controls with noted trade-offs: (1) Disable public access to all content-type endpoints that include admin-relation fields (updatedBy, createdBy, publishedBy) by requiring authentication-breaks unauthenticated read use cases but eliminates attack vector. (2) Configure WAF or reverse proxy (nginx, Cloudflare) to block query strings matching the IoC regex pattern where\[(updatedBy|createdBy|publishedBy)\]\[ on public routes-may cause false positives if legitimate queries filter by user metadata, requires regex engine performance tuning. (3) Remove updatedBy/createdBy fields from public content-type schemas via Strapi admin panel Content-Type Builder-loses audit trail metadata, impacts workflows relying on authorship tracking. (4) Rate-limit public Content API endpoints to <10 req/min per IP-slows oracle attacks but does not prevent them, impacts legitimate high-traffic use cases. Monitor server logs for the provided IoC regex and alert on ≥100 requests/hour from single IPs with incrementing filter values. None of these mitigations fully prevent exploitation; upgrading is the only complete fix. Vendor advisory at https://github.com/strapi/strapi/security/advisories/GHSA-rjg2-95x7-8qmx.

Affected VersionsENISA

Strapi 4.0.0, < 5.37.0
Strapi 4.0.0, < 5.37.0

Affected Packages

npm @strapi/strapi fix: 5.37.0
euvd strapi_4_0_0 fix: 5.37.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Strapi is a popular open-source headless CMS built on Node.js. This vulnerability exploits the interaction between Strapi's Content API query filtering system and its ORM layer (typically Knex.js). When public content-type endpoints expose relational fields like updatedBy (a foreign key to the admin_users table), the ORM generates SQL queries with LEFT JOIN clauses to allow filtering by related entity properties. The flaw lies in insufficient authorization enforcement at the query parameter sanitization boundary-specifically, the framework did not validate that the caller possessed read permission on the joined table's schema before allowing WHERE clauses to reference its columns. The where[relation][private_field][$operator]=value parameter chain triggers a database query that joins the restricted admin_users table and applies a filter on sensitive columns like resetPasswordToken, password, or email. Although the API never returns the field values directly, the COUNT or presence/absence of matching records in the response acts as a one-bit oracle. By repeatedly querying with $startsWith operators and incrementing the prefix character-by-character (a classic timing-independent blind boolean attack), an attacker can reconstruct the full value of any admin table field. The patched version introduces three new query sanitization primitives (strictParam, addQueryParams, addBodyParams) that enforce schema-level access control before query construction, rejecting operator chains traversing into restricted relational targets regardless of SQL injection or other injection vectors.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 9.2 CRITICAL
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

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Patch available
May 14, 2026 - 20:17 EUVD
Analysis Updated
May 14, 2026 - 19:28 vuln.today
v2 - CVSS changed
CVSS changed
May 14, 2026 - 19:22 NVD
9.2 (CRITICAL)
CVE Published
May 14, 2026 - 13:17 nvd
CRITICAL

DescriptionGitHub Advisory

Summary of CVE-2026-27886 Vulnerability Details

  • CVE: CVE-2026-27886
  • CVSS v3.1 Vector: 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 (9.3 - Critical)
  • Affected Versions: @strapi/strapi <=5.36.1
  • How to Patch: Immediately update your Strapi to >=5.37.0

Description of CVE-2026-27886

Strapi versions 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 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.

IoC's for CVE-2026-27886

Indicators that an instance running an unpatched version may have been exploited:

  • Server access logs containing query strings traversing into admin-relation private fields. Regex: \?(.*&)?where\[(updatedBy|createdBy|publishedBy)\]\[(email|password|resetPasswordToken|confirmationToken|firstname|lastname|preferedLanguage)\]\[\$(startsWith|contains|eq|gt|lt|ge|le|in|notIn|notNull|null)\]=
  • High volume of public Content API requests from a single IP iterating through a hex alphabet (0-9, a-f) on the same content-type endpoint with progressively-longer filter values
  • Subsequent POST /admin/reset-password calls using a reset token that the legitimate admin did not request
  • Successful admin password change immediately following a burst of public Content API requests with where[updatedBy] query parameters
  • Sustained burst of identical-shape requests with only the trailing character of the filter value varying

Credit

Discovered by: James Doll - WildWest CyberSecurity Contact: cve+2026-27886@wildwestcyber.com Website: https://wildwestcyber.com LinkedIn: https://www.linkedin.com/in/james-doll-273a61243

Executive ViewAI

Why It Matters

Strapi versions 4.0.0-5.36.1 contain a critical information disclosure vulnerability in the Content API that allows unauthenticated attackers to extract administrator password-reset tokens through boolean-oracle attacks on relational queries, leading to complete administrative account takeover. Any organization running affected Strapi instances with public content-types that reference admin user fields faces immediate risk of unauthorized administrative access and full application compromise.

Business Impact: Severe
Compensating Controls

Vendor-released patch: Strapi 5.37.0. If immediate patching is blocked: (1) Disable public access to content-types containing admin-relation fields until patch applied; (2) Implement Web Application Firewall rules to block where queries containing admin table references (updatedBy, createdBy, publishedBy); (3) Enforce IP whitelisting on all Strapi API endpoints; (4) Require authentication for all content-type queries via API token enforcement; (5) Rotate all administrator password-reset tokens and monitor admin account login activity in real-time.

Threat Intelligence Overview

EPSS Score
0.1%
Top 69% exploitable
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA POC (1) GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

66
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy