製品・ソフトウェアに関する情報
strawberryのStrawberry GraphQLにおけるリソースの枯渇に関する脆弱性
Title strawberryのStrawberry GraphQLにおけるリソースの枯渇に関する脆弱性
Summary

Strawberry GraphQLはGraphQL APIを作成するためのライブラリです。バージョン0.172.0から0.315.6の間では、StrawberryのMaxAliasesLimiter拡張機能がFragmentSpreadNodeの乗算・増幅効果を考慮していませんでした。AST内の静的エイリアスは正しくカウントしますが、実行中にフラグメントの内部エイリアスが何回展開されるかを考慮していませんでした。これにより、攻撃者がエイリアス制限を回避し、サーバーに許可されたエイリアス数を大幅に超えて解決・レンダリングさせることができ、リソースが枯渇してDoSを引き起こす可能性があります。バージョン0.315.7でこの問題は修正されました。

Possible impacts ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアの一部が停止する可能性があります。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date June 4, 2026, midnight
Registration Date June 8, 2026, 12:31 p.m.
Last Update June 8, 2026, 12:31 p.m.
CVSS3.0 : 警告
Score 5.3
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Affected System
strawberry
Strawberry GraphQL 0.172.0 以上 0.315.7 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年06月08日]
  掲載
June 8, 2026, 12:31 p.m.

NVD Vulnerability Information
CVE-2026-47707
Summary

Strawberry GraphQL is a library for creating GraphQL APIs. In versions 0.172.0 through0.315.6, the MaxAliasesLimiter extension in Strawberry fails to account for the multiplicative/amplification effect of FragmentSpreadNode. While it correctly counts static aliases within the AST it does not consider how many times a fragments internal aliases are expanded during execution. this allows an attacker to bypass alias limits and force the server to resolve and render a significantly higher number of aliases than allowed, potentially leading to a dos via resource exhaustion. Version 0.315.7 contains a fix for the issue.

Publication Date June 5, 2026, 12:16 a.m.
Registration Date June 5, 2026, 4:10 a.m.
Last Update June 6, 2026, 2:38 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:strawberry:strawberry_graphql:*:*:*:*:*:python:*:* 0.172.0 0.315.7
Related information, measures and tools
Common Vulnerabilities List