<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/cve-2026-27886-unauthenticated-boolean-oracle--5yimqyzoy" -->

---
title: CVE-2026-27886: Unauthenticated Boolean-Oracle… | daily.dev
description: Bishop Fox details CVE-2026-27886, a critical unauthenticated sanitization bypass in Strapi versions 4.0.0 through 5.36.1. An attacker can abuse an...
canonical: https://daily.dev/posts/cve-2026-27886-unauthenticated-boolean-oracle--5yimqyzoy
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: CVE-2026-27886: Unauthenticated Boolean-Oracle… | daily.dev
og:description: Bishop Fox details CVE-2026-27886, a critical unauthenticated sanitization bypass in Strapi versions 4.0.0 through 5.36.1. An attacker can abuse an...
og:url: https://daily.dev/posts/cve-2026-27886-unauthenticated-boolean-oracle--5yimqyzoy
og:image: https://api.daily.dev/og/posts/5yiMQyZOy.png
og:image:alt: CVE-2026-27886: Unauthenticated Boolean-Oracle…
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# CVE-2026-27886: Unauthenticated Boolean-Oracle…

**[Sliver C2 Documentation](https://daily.dev/sources/bishopfox)** · 19 min read · 0 upvotes · 0 comments

## Summary

Bishop Fox details CVE-2026-27886, a critical unauthenticated sanitization bypass in Strapi versions 4.0.0 through 5.36.1. An attacker can abuse an undocumented `where` query parameter to reach the database layer directly, turning the pagination total into a boolean oracle that leaks an administrator's password-reset token or email character by character. Combined with Strapi's existing forgot-password and reset-password endpoints, this allows full unauthenticated account takeover with a Super Admin JWT. Strapi shipped a fix in 5.37.0 (Feb 26, 2026) that adds a strict allowlist of permitted query keys; the advisory (CVSS 9.3) was published May 13, 2026. Bishop Fox also released a Python detection tool to check for vulnerable instances without performing full takeover.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://bishopfox.com/blog/cve-2026-27886-unauthenticated-boolean-oracle-exfiltration-of-administrator-secrets-in-strapi>

## Questions this post answers

### What is CVE-2026-27886 in Strapi and how does it lead to account takeover?

CVE-2026-27886 is a critical unauthenticated sanitization bypass affecting Strapi 4.0.0 through 5.36.1, rated CVSS 9.3. An attacker sends a crafted query with an undocumented `where` parameter that reaches the database layer unsanitized, turning the response's pagination total into a one-bit oracle. This leaks an admin's 40-character password-reset token or email character by character, which is then submitted to Strapi's own reset-password endpoint to obtain a Super Admin JWT.

_daily.dev surfaces critical CVEs like this so teams patching Strapi don't miss the details._

### How do I fix or mitigate the Strapi where-clause query bypass vulnerability?

Upgrade to Strapi 5.37.0 or later, which introduces an explicit allowlist of permitted Content API query keys (filters, sort, fields, populate, pagination, etc.) enforced via a new strictParams option in validateQuery and sanitizeQuery. Administrators on affected versions should also rotate every admin password, clear outstanding reset_password_token values, and review which content types the Public role can list.

_Track framework security patches like this on daily.dev before they turn into a production incident._

### What preconditions does an attacker need to exploit the Strapi CVE-2026-27886 boolean oracle?

Two conditions must hold: the Public role must have the find action granted on at least one content type (common on public-facing installs whose frontend reads content unauthenticated), and at least one row in that table must have a non-NULL updatedBy or createdBy foreign key pointing to an admin_users row, which happens automatically whenever an admin edits content through the admin UI.

_Developers auditing Strapi permissions can follow disclosures like this via daily.dev._

## Similar posts on daily.dev

- [CVE-2026-82329: Unauthenticated Administrative Access in…](https://daily.dev/posts/cve-2026-82329-unauthenticated-administrative-access-in--jp5ers0bt) · Sliver C2 Documentation · 0 upvotes · 0 comments
- [CVE-2026-22589 \(spree\_core\): Spree API has Unauthenticated IDOR](https://daily.dev/posts/cve-2026-22589-spree-core-spree-api-has-unauthenticated-idor-olszibwc5) · RUBYLAND · 0 upvotes · 0 comments
- [From Bug to Schema: Exploring Error-Based SQL Injection on an Authenticating Portal](https://daily.dev/posts/from-bug-to-schema-exploring-error-based-sql-injection-on-an-authenticating-portal-xbvfkmcgs) · InfoSec Write-ups · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#authentication](https://daily.dev/tags/authentication), [#sql](https://daily.dev/tags/sql), [#vulnerability](https://daily.dev/tags/vulnerability)

[View this post on daily.dev](https://daily.dev/posts/cve-2026-27886-unauthenticated-boolean-oracle--5yimqyzoy)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"CVE-2026-27886: Unauthenticated Boolean-Oracle…","url":"https://daily.dev/posts/cve-2026-27886-unauthenticated-boolean-oracle--5yimqyzoy","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/cve-2026-27886-unauthenticated-boolean-oracle--5yimqyzoy"},"datePublished":"2026-08-23T12:21:40.348Z","dateModified":"2026-08-23T12:39:07.962Z","description":"Bishop Fox details CVE-2026-27886, a critical unauthenticated sanitization bypass in Strapi versions 4.0.0 through 5.36.1. An attacker can abuse an...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/dc52e37a793891e8a0b18f14dab7bf65?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/dc52e37a793891e8a0b18f14dab7bf65?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Sliver C2 Documentation","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Sliver C2 Documentation","logo":"https://media.daily.dev/image/upload/logos/placeholder.jpg","url":"https://daily.dev/sources/bishopfox"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/cve-2026-27886-unauthenticated-boolean-oracle--5yimqyzoy","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,authentication,sql,vulnerability","timeRequired":"PT19M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sliver C2 Documentation","item":"https://daily.dev/sources/bishopfox"},{"@type":"ListItem","position":3,"name":"CVE-2026-27886: Unauthenticated Boolean-Oracle…"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/cve-2026-27886-unauthenticated-boolean-oracle--5yimqyzoy#faq","mainEntity":[{"@type":"Question","name":"What is CVE-2026-27886 in Strapi and how does it lead to account takeover?","acceptedAnswer":{"@type":"Answer","text":"CVE-2026-27886 is a critical unauthenticated sanitization bypass affecting Strapi 4.0.0 through 5.36.1, rated CVSS 9.3. An attacker sends a crafted query with an undocumented `where` parameter that reaches the database layer unsanitized, turning the response's pagination total into a one-bit oracle. This leaks an admin's 40-character password-reset token or email character by character, which is then submitted to Strapi's own reset-password endpoint to obtain a Super Admin JWT. daily.dev surfaces critical CVEs like this so teams patching Strapi don't miss the details."}},{"@type":"Question","name":"How do I fix or mitigate the Strapi where-clause query bypass vulnerability?","acceptedAnswer":{"@type":"Answer","text":"Upgrade to Strapi 5.37.0 or later, which introduces an explicit allowlist of permitted Content API query keys (filters, sort, fields, populate, pagination, etc.) enforced via a new strictParams option in validateQuery and sanitizeQuery. Administrators on affected versions should also rotate every admin password, clear outstanding reset_password_token values, and review which content types the Public role can list. Track framework security patches like this on daily.dev before they turn into a production incident."}},{"@type":"Question","name":"What preconditions does an attacker need to exploit the Strapi CVE-2026-27886 boolean oracle?","acceptedAnswer":{"@type":"Answer","text":"Two conditions must hold: the Public role must have the find action granted on at least one content type (common on public-facing installs whose frontend reads content unauthenticated), and at least one row in that table must have a non-NULL updatedBy or createdBy foreign key pointing to an admin_users row, which happens automatically whenever an admin edits content through the admin UI. Developers auditing Strapi permissions can follow disclosures like this via daily.dev."}}]}
```

