7 matches found
Strawberry GraphQL: Synchronous permission checks can treat an awaitable authorization result as truthy
Summary PermissionExtension.resolve evaluates the return value of haspermission for truthiness on the synchronous path. supportssync only classifies a permission as asynchronous when haspermission is declared with async def via inspect.iscoroutinefunction, so a plain def that returns an awaitable...
CVE-2026-84469 fastify vulnerable to request validation bypass via skipped boolean false schemas
fastify versions before 5.12.2 decide whether to compile a request schema based on JavaScript truthiness, but JSON Schema Draft 7 defines the boolean false as a valid schema that rejects every instance. When an application assigns false to a route's body, querystring, params, or headers schema to...
CVE-2026-84469 fastify vulnerable to request validation bypass via skipped boolean false schemas
fastify versions before 5.12.2 decide whether to compile a request schema based on JavaScript truthiness, but JSON Schema Draft 7 defines the boolean false as a valid schema that rejects every instance. When an application assigns false to a route's body, querystring, params, or headers schema to...
CVE-2026-84469
fastify versions before 5.12.2 use JavaScript truthiness to decide whether to compile a request schema. Because JSON Schema Draft 7 defines the boolean false as a valid schema that rejects every instance, an application that assigns false to a route's body, querystring, params, or headers schema ...
GHSA-63MC-HW7G-86RR Phoenix: Presence keys colliding with `Object.prototype` members break existence checks
Summary The Phoenix JavaScript presence client assets/js/phoenix/presence.js tests whether a presence already exists using a bare truthiness check statekey rather than an own-property check. Because applications commonly track presences under a client-supplied username or id, the presence key can...
Phoenix: Presence keys colliding with `Object.prototype` members break existence checks
Summary The Phoenix JavaScript presence client assets/js/phoenix/presence.js tests whether a presence already exists using a bare truthiness check statekey rather than an own-property check. Because applications commonly track presences under a client-supplied username or id, the presence key can...
py-strawberry-graphql -- Incorrect authorization
Patrick Arminio reports: "PermissionExtension.resolve" evaluates the return value of "haspermission" for truthiness on the synchronous path. "supportssync" only classifies a permission as asynchronous when "haspermission" is declared with "async def" via "inspect.iscoroutinefunction", so a plain...