Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. strawberry-graphql
  4. ›
  5. CVE-2026-107727

CVE-2026-107727: Strawberry legacy graphql-ws retains naturally completed subscription slots

October 9, 2026

Strawberry’s legacy graphql-ws subscription handler can retain task and subscription bookkeeping after a one-shot subscription has naturally sent its complete message. When the application configures max_subscriptions_per_connection, the handler counts those completed operations in len(self.tasks). A client that uses distinct operation IDs can therefore reach the configured subscription limit even though the earlier subscriptions have already completed, causing subsequent legitimate subscriptions on the same persistent WebSocket connection to receive Subscription limit reached.

This is a conditional connection-level availability and resource-accounting issue. It requires explicit use of the legacy graphql-ws protocol, a persistent WebSocket connection, one-shot subscriptions that naturally complete, and a configured max_subscriptions_per_connection limit. It is not an unconditional issue in a default Strawberry installation and is distinct from the previously fixed single-connection infinite-subscription issue.

References

  • github.com/advisories/GHSA-m952-2w3f-6r8h
  • github.com/strawberry-graphql/strawberry/commit/24c5e46d57f7ad4f77e6e01fb8ae482dd1c0ff92
  • github.com/strawberry-graphql/strawberry/pull/4610
  • github.com/strawberry-graphql/strawberry/releases/tag/0.327.2
  • github.com/strawberry-graphql/strawberry/security/advisories/GHSA-m952-2w3f-6r8h
  • nvd.nist.gov/vuln/detail/CVE-2026-107727

Code Behaviors & Features

Detect and mitigate CVE-2026-107727 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.312.3 before 0.327.2

Fixed versions

  • 0.327.2

Solution

Upgrade to version 0.327.2 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/strawberry-graphql/CVE-2026-107727.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:25 +0000.