CVE-2026-107728 Strawberry GraphQL: Synchronous permission checks can treat an awaitable authorization result as truthy

High 7.5 Published Updated

Attackers can bypass permission checks in synchronous GraphQL resolvers if custom permissions return unawaited awaitables, allowing unauthorized access to protected data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-107728?

CVE-2026-107728 is a high-severity authentication bypass vulnerability in strawberry-graphql strawberry, published on 8 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-863

Which versions are affected by CVE-2026-107728?

3 open source packages ship an affected version, including strawberry-graphql.

PackageAffectedFixed in
strawberry-graphql PyPIFrom 0.217.00.326.1
strawberry-graphql PyPIFrom 0.217.00.326.1
strawberry-graphql PyPIFrom 0.217.00.326.1

How do I fix CVE-2026-107728?

Upgrade strawberry-graphql to 0.326.1 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2026-107728 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-107728 exists.

Sources

Also known as GHSA-pfvf-fwfp-25mp, PYSEC-2026-4303, ROOT-APP-PYPI-CVE-2026-107728.

Is CVE-2026-107728 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free