BSD Ports

py-strawberry-graphql -- Incorrect authorization

· VuXML entry

Patrick Arminio reports: "PermissionExtension.resolve()" evaluates the return value of "has_permission()" for truthiness on the synchronous path. "supports_sync" only classifies a permission as asynchronous when "has_permission" is declared with "async def" (via "inspect.iscoroutinefunction"), so a plain "def" that returns an awaitable is treated as synchronous. An awaitable is always truthy, so the check passes …

Affected versions

By system

1 still vulnerable, 2 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.

SystemPortVersionStateFixed
DragonFlydevel/py-strawberry-graphql0.262.5 vulnerable since 2026-09-02
MidnightBSDdevel/py-strawberry-graphql0.320.0_1 in range, by version
FreeBSDdevel/py-strawberry-graphql0.327.3 fixed
FreeBSDdevel/py-dj60-strawberry-graphql0.327.3 fixed