Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend GraphQL query to protected field
-
ExploitSync permission returns truthy awaitable
-
ExecutionPermission check bypassed, resolver executes
-
ImpactRead 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 |
| 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 |
| 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
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).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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- 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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Strawberry
View allDenial-of-service via alias amplification in Strawberry GraphQL (versions 0.172.0 through 0.315.6) allows unauthenticate
Infinite recursion in Strawberry GraphQL's QueryDepthLimiter extension allows unauthenticated remote attackers to crash
Strawberry GraphQL is a library for creating GraphQL APIs. Rated high severity (CVSS 8.0), this vulnerability is remotel
Uncontrolled resource consumption in the Strawberry GraphQL library's legacy graphql-ws subscription handler (versions 0
EUVD-2026-95392
GHSA-pfvf-fwfp-25mp
NVD
CVE.org
EPSS
VulDB
Exploit-DB