Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/strawberry-graphql/strawberry/commit/2ebb79796c0e5ebb43cae1ab
- https://github.com/strawberry-graphql/strawberry/pull/4605
- https://github.com/strawberry-graphql/strawberry/releases/tag/0.326.1
- https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-pfvf-f
- https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-pfvf-f
FAQ
What is CVE-2026-107728?
CVE-2026-107728 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 truthi...
How severe is CVE-2026-107728?
CVE-2026-107728 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-107728?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.