In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade strawberry-graphql
to version 0.257.0 or higher.
strawberry-graphql is an A library for creating GraphQL APIs
Affected versions of this package are vulnerable to Insufficient Type Distinction in the relay integration that affects multiple ORM integrations (Django, SQLAlchemy, Pydantic). An attacker can access unauthorized data by querying for a specific type using the global node
field, which may incorrectly return an instance of a different type mapped to the same model.
Note:
This is only exploitable if Multiple GraphQL types inherit from relay.Node
, these types are mapped to the same database model and the global node field is used for type resolution.