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

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-08T22:11:12.785Z
- Modified: 2026-10-15T14:56:15.602Z
- Also known as: GHSA-m952-2w3f-6r8h, PYSEC-2026-4302
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- strawberry-graphql strawberry: >= 0.312.3, < 0.327.2
- strawberry-graphql (PyPI): from 0.312.3 before 0.327.2

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- PyPA Advisory Database: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-m952-2w3f-6r8h> (exploit, web)
- <https://github.com/strawberry-graphql/strawberry/pull/4610> (web)
- <https://github.com/strawberry-graphql/strawberry/commit/24c5e46d57f7ad4f77e6e01fb8ae482dd1c0ff92> (web)
- <https://github.com/strawberry-graphql/strawberry/releases/tag/0.327.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-107727> (advisory)
- <https://github.com/strawberry-graphql/strawberry> (package)
- <https://pypi.org/project/strawberry-graphql> (package)
- <https://github.com/advisories/GHSA-m952-2w3f-6r8h> (advisory)

## Sources

- CVE List: [CVE-2026-107727](https://www.cve.org/CVERecord?id=CVE-2026-107727), CVE Terms of Use, modified 2026-10-13
- GitHub Advisory Database: [GHSA-m952-2w3f-6r8h](https://github.com/advisories/GHSA-m952-2w3f-6r8h), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2026-107727](https://nvd.nist.gov/vuln/detail/CVE-2026-107727), Public domain, modified 2026-10-13
- PyPA Advisory Database: [PYSEC-2026-4302](https://osv.dev/vulnerability/PYSEC-2026-4302), CC-BY-4.0, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-107727 · Whole record: https://cve.day/CVE-2026-107727.json · Rebuilt by cve.day 2026-11-25T22:59:43.254Z
