Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

strawberry-graphql/strawberry
main @ d5372ae
30
Fixes
2
CVEs
CRITICAL
Peak severity
48.0%
Coverage
Highlights
Denial of Service: 16 prior fixes. Scrutinize any change in this area.
strawberry/subscriptions/protocols/graphql_transport_ws/handlers.py: most-fixed (3 issues). Treat as high-risk during review.
9 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Denial of Service: WebSocket connections and long-lived subscriptions are susceptible to resource exhaustion through uncleaned asyncio tasks, unclosed subscription generators, and missing handshake read deadlines.
Information Disclosure: Reusing schema extension and middleware instances across concurrent async execution contexts led to critical race conditions and state leakage of execution context variables between requests.
Auth Bypass: Implicit CSRF exemptions combined with multipart file upload enabled by default exposed integrations to cross-site request forgery risks (associated with CVE-2024-47082).