Skip to main content
← All vulnerabilities
CVE-2026-107728PYSEC-2026-4303GHSA-PFVF-FWFP-25MP

Strawberry GraphQL: Synchronous permission checks can treat an awaitable authorization result as truthy

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.326.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • strawberry-graphql strawberry

    From 0.217.0 · fixed in 0.326.1

  • strawberry-graphqlPyPI

    From 0.217.0 · fixed in 0.326.1

References 4

GitHub · strawberry-graphql/strawberry