{"cve":"CVE-2026-107728","nvd":{"published":"2026-10-08T23:16:58.180","modified":"2026-10-14T02:16:57.993","status":"Awaiting Analysis","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-863"],"references":["https://github.com/strawberry-graphql/strawberry/commit/2ebb79796c0e5ebb43cae1abd2b5a21363b1c00e","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-fwfp-25mp","https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-pfvf-fwfp-25mp"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:58:01.639778232+00:00"},"epss":{"cve":"CVE-2026-107728","score":0.00449,"percentile":0.38743,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-pfvf-fwfp-25mp","url":"https://osv.dev/vulnerability/GHSA-pfvf-fwfp-25mp","summary":"Strawberry GraphQL: Synchronous permission checks can treat an awaitable authorization result as truthy","modified":"2026-10-15T14:55:39.004006266Z","packages":[{"ecosystem":"PyPI","name":"strawberry-graphql","purl":"pkg:pypi/strawberry-graphql","ranges":[">=0.217.0 <0.326.1"],"fixed":["0.326.1"]}]},{"id":"PYSEC-2026-4303","url":"https://osv.dev/vulnerability/PYSEC-2026-4303","summary":"Strawberry GraphQL: Synchronous permission checks can treat an awaitable authorization result as truthy","modified":"2026-10-15T14:45:14.136021655Z","packages":[{"ecosystem":"PyPI","name":"strawberry-graphql","purl":"pkg:pypi/strawberry-graphql","ranges":[">=0.217.0 <0.326.1"],"fixed":["0.326.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}