Skip to main content

Strawberry GraphQL CVE-2026-107728

| EUVDEUVD-2026-95392 HIGH
Incorrect Authorization (CWE-863)
2026-10-08 GitHub_M GHSA-pfvf-fwfp-25mp
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Send GraphQL query to protected field
  2. Exploit
    Sync permission returns truthy awaitable
  3. Execution
    Permission check bypassed, resolver executes
  4. Impact
    Read unauthorized protected data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

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

Exploitation Conditions

Exploitation requires the target application to define a custom permission (BasePermission) whose has_permission() is declared as a synchronous def yet returns an awaitable/coroutine, and the protected field must use a synchronous resolver (triggerable under both execute_sync() and execute()). This is a non-default, developer-introduced coding pattern - permissions using async def has_permission() or returning a plain boolean are NOT vulnerable, which sharply limits real-world exposure despite the unauthenticated network-reachable vector. Affected versions are Strawberry GraphQL 0.217.0 through 0.326.0; upgrading to 0.326.1 makes the sync path fail closed by raising PermissionReturnedAwaitableInSyncContextError.

Impact

The supplied CVSS vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, base 7.5) describes a network-reachable, unauthenticated authorization bypass (CWE-863) with high confidentiality impact. However, this high score masks a significant real-world limiting factor not reflected in AC:L: exploitation is only possible when the application developer has written a custom BasePermission whose has_permission() is a synchronous def that returns an awaitable (e.g. a coroutine) AND the protected field uses a synchronous resolver. Permissions written with async def has_permission() or returning plain booleans - the overwhelmingly common patterns - are not affected. No EPSS score is provided in the input, there is no CISA KEV listing, and no public exploit code was identified; the GitHub source evidence is the vendor's patch and regression tests, NOT a weaponized POC. Taken together, this is a genuine fail-open authorization defect that merits prompt patching for teams using the affected versions, but it is best characterized as a conditional/targeted risk dependent on a specific non-default coding anti-pattern rather than a broadly wormable, high-urgency issue. The AC:L in the input arguably understates the preconditions - I assess AC:H (see assessed vector) because the vulnerable condition lies outside the attacker's control.

Exploit ScenarioDerived

An application running Strawberry GraphQL between 0.217.0 and 0.326.0 defines a custom permission whose has_permission() is a normal def that returns a coroutine (for example a wrapper delegating to an async check). A remote unauthenticated client issues a GraphQL query against a protected, synchronously-resolved field; Strawberry evaluates the returned awaitable for truthiness - always true - so the permission check passes and the resolver returns data that should have been denied. No public exploit code was identified at time of analysis; only the vendor's fix and regression tests are available.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 08, 2026

Strawberry GraphQL versions 0.217.0 through 0.326.0 contain an authorization bypass in which a custom permission class whose has_permission() is declared as a synchronous def but returns an awaitable (for example a coroutine) can grant access to fields that should be denied. Because only async def methods are detected as asynchronous, the returned awaitable is evaluated for truthiness on the synchronous resolve path and is always truthy, so the protected resolver runs even when the awaitable would resolve to False. The flaw affects synchronous field resolvers under both execute_sync() and execute(); permissions declared with async def or returning a plain boolean are unaffected, and no public exploit code or confirmed active exploitation was identified at time of analysis, though the patch is a single small commit (PR #4605) that is easy to reverse-engineer.

RemediationAI

Vendor-released patch: upgrade to strawberry-graphql 0.326.1, which makes the synchronous permission path fail closed by raising PermissionReturnedAwaitableInSyncContextError instead of trusting an awaitable, as implemented in PR #4605 (commit 2ebb79796c0e5ebb43cae1abd2b5a21363b1c00e) and published in the release at https://github.com/strawberry-graphql/strawberry/releases/tag/0.326.1 with advisory guidance at https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-pfvf-fwfp-25mp. If immediate upgrade is not possible, audit every custom BasePermission implementation and rewrite any synchronous has_permission that returns a coroutine or other awaitable so that it either returns a plain boolean (performing the authorization check synchronously) or is declared with async def so Strawberry routes it through the asynchronous path - this removes the vulnerable pattern entirely and has no functional downside, but be aware that changing a permission to async def means it will no longer run correctly under execute_sync() unless the schema is executed asynchronously. As a compensating control, avoid calling execute_sync() on schemas that carry permissions whose implementation you cannot audit, since the asynchronous execute() path combined with correctly declared async def permissions is unaffected; note this does not protect synchronous resolvers reached through execute(), so code review of permission classes remains necessary. Because the upstream fix is a short diff, detection can be performed statically by searching for permission classes whose has_permission is defined with def but whose body returns an awaitable or delegates to an async function without await.

Affected VersionsENISA

strawberry 0.217.0, < 0.326.1

Affected Packages

pypi strawberry-graphql fix: 0.326.1
euvd strawberry_0_217_0 fix: 0.326.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

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

Technical ContextAI · show details

Strawberry GraphQL is a Python library for building GraphQL APIs, and its PermissionExtension class mediates field-level authorization through BasePermission subclasses. In the affected code path, PermissionExtension.resolve() calls permission.has_permission(source, info, **kwargs), and a separate supports_sync helper uses inspect.iscoroutinefunction() to decide whether a permission is asynchronous. A plain def function that returns a coroutine - for instance a wrapper delegating to an async helper without being async itself - is therefore misclassified as synchronous, and the coroutine object is tested directly with 'if not has_permission'. Since every coroutine object is truthy regardless of the value it would eventually yield, CWE-863 (Incorrect Authorization) results: the deny result is never awaited and the protected resolver executes. The upstream fix in PR #4605 adds an inspect.isawaitable() check on the resolved value, closes the coroutine to avoid an un-awaited warning, and raises PermissionReturnedAwaitableInSyncContextError so the sync path fails closed. The CPE entry cpe:2.3:a:strawberry-graphql:strawberry:*:*:*:*:*:*:*:* confirms the package itself (not a downstream framework) is the affected product, and the vendor advisory GHSA-pfvf-fwfp-25mp documents the same scope.

Know when Strawberry gets its next vulnerability

  • 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

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.9 MEDIUM

Network-reachable and unauthenticated bypass (AV:N/PR:N), but AC:H because exploitation depends on a specific non-default permission coding pattern outside attacker control; impact is primarily unauthorized data disclosure (C:H).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 7.5 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Oct 09, 2026 - 15:17 EUVD
CVE Published
Oct 08, 2026 - 22:13 cve.org
HIGH 7.5

DescriptionCVE.org

Strawberry GraphQL is a library for creating GraphQL APIs. From 0.217.0 until 0.326.1, PermissionExtension.resolve() on a synchronous field resolver evaluates the result of has_permission() for truthiness. When a custom permission declares has_permission() as a normal function but returns an awaitable, supports_sync does not classify it as asynchronous, the awaitable is not awaited, and its inherently truthy object value permits the protected resolver to run even when the result would resolve to false. This affects synchronous field resolvers under both execute_sync() and execute(); permissions declared with async def has_permission() and synchronous permissions returning a boolean are not affected. This issue is fixed in version 0.326.1.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 2 pypi packages depend on strawberry-graphql (2 direct, 0 indirect)

Ecosystem-wide dependent count for version 0.217.0.

Technical POC Analysis

CWE-863, Incorrect Authorization.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

Strawberry GraphQL versions 0.217.0 through 0.326.0 carry an authorization bypass that lets requests reach fields a permission class was supposed to block, meaning access controls protecting API-exposed data cannot be trusted for the affected resolver paths. Any team running these versions in a customer-facing or internal GraphQL API is exposed: users who should be denied - including lower-privileged or external callers - may receive data or trigger operations reserved for authorized roles. No public exploit identified at time of analysis and no vendor-released patch identified at time of analysis, so leadership should treat this as an unmitigated control failure requiring inventory and code-level remediation now.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: audit and rewrite any synchronous has_permission() implementation that returns an awaitable so it returns a strict boolean or is declared async def; convert affected resolvers to async execution paths where permissions are correctly detected; add explicit defense-in-depth authorization checks inside affected resolvers themselves; add tests asserting denial for unauthorized callers on both execute_sync() and execute(); and restrict or disable access to fields guarded by suspect permission classes until remediation is complete.

Threat Intelligence Overview

EPSS Score
0.4%
Top 73% exploitable
Prevalence
Medium
popular Python GraphQL library, moderate but not ubiquitous production footprint
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS GHSA Vendor 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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Vendor StatusVendor

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