Read the docs
TI-2025-16097 Aliases CVE-2025-22151GHSA-5xh2-23cc-5jc6

Strawberry GraphQL has a type resolution vulnerability

Priority LOW 18CWE-843Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

Strawberry GraphQL is a library for creating GraphQL APIs. Starting in 0.182.0 and prior to version 0.257.0, a type confusion vulnerability exists in Strawberry GraphQL's relay integration that affects multiple ORM integrations (Django, SQLAlchemy, Pydantic). The vulnerability occurs when multiple GraphQL types are mapped to the same underlying model while using the relay node interface. When querying for a specific type using the global node field (e.g., FruitType:some-id), the resolver may incorrectly return an instance of a different type mapped to the same model (e.g., SpecialFruitType). This can lead to information disclosure if the alternate type exposes sensitive fields and potential privilege escalation if the alternate type contains data intended for restricted access. This vulnerability is fixed in 0.257.0.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00385 32nd percentileScored 2026-11-07
Fix Fixed strawberry (strawberry-graphql): 0.257.0strawberry-graphql (PyPI): 0.257.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
strawberry-graphqlstrawberry0.182.0 to before 0.257.00.257.0Patch availableCNA
—strawberry-graphql (PyPI)0.182.0 to before 0.257.00.257.0Patch availableGHSA-5xh2-23cc-5jc6
  • strawberry Vendorstrawberry-graphql Affected 0.182.0 to before 0.257.0 Fixed in 0.257.0 Patch available CNA
  • strawberry-graphql (PyPI) Vendor— Affected 0.182.0 to before 0.257.0 Fixed in 0.257.0 Patch available GHSA-5xh2-23cc-5jc6

Remediation

  • Fix · CNA strawberry (strawberry-graphql) Fixed in 0.257.0
  • Fix · GHSA-5xh2-23cc-5jc6 strawberry-graphql (PyPI) Fixed in 0.257.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-22151
  2. 2026-10-03 Alias added: GHSA-5xh2-23cc-5jc6

References

  • TI-2026-69808 Strawberry GraphQL permission check can bypass with awaitable results CVSS 3.1HIGH 7.5
  • TI-2026-35210 Strawberry GraphQL's Bypass of MaxAliasesLimiter via Fragment Spreads leading to GraphQL Alias Amplification CVSS 3.1MEDIUM 5.3
  • TI-2026-35209 Strawberry GraphQL has a Circular Fragment Reference DOS CVSS 3.1MEDIUM 5.3
  • TI-2009-01689 Directory traversal vulnerability in plugins/ddb/foot.php in Strawberry 1.1.1 allows… CVSS 2.0HIGH 9.3
  • TI-2026-69807 Strawberry legacy graphql-ws retains completed subscription slots CVSS 3.1LOW 3.7
  • TI-2026-27641 Strawberry GraphQL affected by a Denial of Service via unbounded WebSocket subscriptions CVSS 3.1HIGH 7.5
See all 9 →

Sources