CVE-2026-107728
HIGH 7.5CVSS 3.1Strawberry GraphQL: Synchronous permission checks can treat an awaitable authorization result as truthy
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.
- Published
- 8 Oct 2026
- Last modified
- 15 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-863
- Also known as
- GHSA-pfvf-fwfp-25mpPYSEC-2026-4303
- Sources
- NVDJSONOSV GHSA-pfvf-fwfp-25mpJSONOSV PYSEC-2026-4303JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | strawberry-graphql | >= 0.217.0, < 0.326.1 | 0.326.1 |
References
- https://github.com/strawberry-graphql/strawberry/commit/2ebb79796c0e5ebb43cae1abd2b5a21363b1c00e · WEB
- https://github.com/strawberry-graphql/strawberry/pull/4605 · WEB
- https://github.com/strawberry-graphql/strawberry/releases/tag/0.326.1 · WEB
- https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-pfvf-fwfp-25mp · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-107728 · ADVISORY
- https://github.com/strawberry-graphql/strawberry · PACKAGE
- https://pypi.org/project/strawberry-graphql · PACKAGE
- https://github.com/advisories/GHSA-pfvf-fwfp-25mp · ADVISORY
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 8 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Oct 2026)