CVE-2026-35523Strawberry Graphql
High 7.5 No auth needed
Follow: this CVE · Strawberry · Strawberry Graphql We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Apr 7, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-306
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
Strawberry GraphQL is a library for creating GraphQL APIs. Strawberry up until version 0.312.3 is vulnerable to an authentication bypass on WebSocket subscription endpoints. The legacy graphql-ws subprotocol handler does not verify that a connection_init handshake has been completed before processing start (subscription) messages. This allows a remote attacker to skip the on_ws_connect authentication hook entirely by connecting with the graphql-ws subprotocol and sending a start message directly, without ever sending connection_init. This vulnerability is fixed in 0.312.3.
What to do
- Apply the vendor's security update for Strawberry Graphql.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | strawberry-graphql |
< 0.312.3 |
0.312.3 |
pip install "strawberry-graphql>=0.312.3" |
| PyPI | strawberry-graphql |
< 0.312.3 |
0.312.3 |
pip install "strawberry-graphql>=0.312.3" |
Per OSV / GitHub Advisories (GHSA-vpwc-v33q-mq89, PYSEC-2026-133). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| strawberry | strawberry_graphql | < 0.312.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory