{"id":"CVE-2026-35526","sourceIdentifier":"security-advisories@github.com","published":"2026-04-07T16:16:28.843","lastModified":"2026-11-11T23:10:00.263","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"Strawberry GraphQL is a library for creating GraphQL APIs. Prior to 0.312.3, Strawberry GraphQL's WebSocket subscription handlers for both the graphql-transport-ws and legacy graphql-ws protocols allocate an asyncio.Task and associated Operation object for every incoming subscribe message without enforcing any limit on the number of active subscriptions per connection. An unauthenticated attacker can open a single WebSocket connection, send connection_init, and then flood subscribe messages with unique IDs. Each message unconditionally spawns a new asyncio.Task and async generator, causing linear memory growth and event loop saturation. This leads to server degradation or an OOM crash. This vulnerability is fixed in 0.312.3."},{"lang":"es","value":"Strawberry GraphQL es una biblioteca para crear APIs GraphQL. Antes de la versión 0.312.3, los manejadores de suscripción WebSocket de Strawberry GraphQL, tanto para los protocolos graphql-transport-ws como para los legados graphql-ws, asignan una asyncio.Task y un objeto Operation asociado por cada mensaje de suscripción entrante sin aplicar ningún límite en el número de suscripciones activas por conexión. Un atacante no autenticado puede abrir una única conexión WebSocket, enviar connection_init y luego inundar con mensajes de suscripción con IDs únicos. Cada mensaje genera incondicionalmente una nueva asyncio.Task y un generador asíncrono, causando un crecimiento lineal de la memoria y la saturación del bucle de eventos. Esto lleva a la degradación del servidor o a un fallo por OOM. Esta vulnerabilidad se corrige en la versión 0.312.3."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"strawberry-graphql","product":"strawberry","versions":[{"version":"< 0.312.3","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-04-08T14:55:45.309490Z","id":"CVE-2026-35526","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-770"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:strawberry:strawberry_graphql:*:*:*:*:*:python:*:*","versionEndExcluding":"0.312.3","matchCriteriaId":"480FB826-3577-47DB-8F4B-B7B6F5C474E5"}]}]}],"references":[{"url":"https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-hv3w-m4g2-5x77","source":"security-advisories@github.com","tags":["Vendor Advisory"]}]}