Live threats

All CVEs / Strawberry

CVE-2026-35523Strawberry Graphql

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Strawberry Graphql.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
strawberrystrawberry_graphql< 0.312.3

Official sources

References

Links published by the sources. Open them with care.