CVE-2026-107727
CVE-2026-107727 · Strawberry legacy graphql-ws retains naturally completed subscription slots
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
Strawberry GraphQL is a library for creating GraphQL APIs. From 0.312.3 until 0.327.2, the legacy graphql-ws subscription handler in strawberry/subscriptions/protocols/graphql_ws/handlers.py does not remove naturally completed operations from self.tasks and self.subscriptions. When max_subscriptions_per_connection is configured, a client on a persistent WebSocket connection can use distinct operation IDs for one-shot subscriptions to fill the connection's configured slots even after those subscriptions send complete, causing later legitimate operations on that connection to be rejected with Subscription limit reached. The modern graphql-transport-ws protocol and deployments without the configured per-connection cap are not affected. This issue is fixed in version 0.327.2.
CVSS 3.7 · Baja · EPSS 0,4% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: python
Productos y versiones afectados
strawberry
- Versiones
- >= 0.312.3, < 0.327.2: Afectada
Sin corrección publicada
strawberry-graphql PyPI
- Versiones
- 0.312.3
- 0.312.4
- 0.313.0
- 0.314.0
- 0.314.1
- 0.314.2
- 0.314.3
- 0.315.0
- 0.315.1
- 0.315.2
- 0.315.3
- 0.315.4
- 0.315.5
- 0.315.6
- 0.315.7
- 0.316.0
- 0.317.0
- 0.317.1
- 0.317.2
- 0.318.0
- 0.318.1
- 0.319.0
- 0.320.0
- 0.320.1
- 0.320.2
- 0.320.3
- 0.320.4
- 0.321.0
- 0.321.1
- 0.322.0
- 0.322.1
- 0.322.2
- 0.323.0
- 0.323.1
- 0.323.2
- 0.324.0
- 0.324.1
- 0.324.2
- 0.324.3
- 0.324.4
- 0.324.5
- 0.325.0
- 0.326.0
- 0.326.1
- 0.327.0
- 0.327.1
- Intervalos de versiones afectados
- ECOSYSTEM: ≥ 0.312.3, < 0.327.2
Actualiza a 0.327.2
Fuentes originales
- https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-m952-2w3f-6r8h
- https://github.com/strawberry-graphql/strawberry/pull/4610
- https://github.com/strawberry-graphql/strawberry/commit/24c5e46d57f7ad4f77e6e01fb8ae482dd1c0ff92
- https://github.com/strawberry-graphql/strawberry/releases/tag/0.327.2
- https://nvd.nist.gov/vuln/detail/CVE-2026-107727