Loading advisory.
Loading advisory.
Cross-Site Request Forgery (CSRF) in strawberry-graphql
Multipart file upload support as defined in the GraphQL multipart request specification was enabled by default in all Strawberry HTTP view integrations.
Published 2024-09-25 17:48 UTC · Modified 2025-01-21 18:36 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| strawberry-graphql | PyPI | < 0.243.0 git commits in https://github.com/strawberry-graphql/strawberry: < 37265b230e511480a9ceace492f9f6a484be1387 versions 0.1.0, 0.10.0, 0.100.0, 0.101.0, 0.102.0, 0.102.1, 0.102.2, 0.102.3, 0.103.0, 0.103.0.dev1646681887, 0.103.0.dev1646854314, 0.103.0.dev1646854952, 0.103.0.dev1647013700, 0.103.0.dev1647019919, 0.103.0.dev1647276413, 0.103.1, 0.103.2, 0.103.3, 0.103.3.dev1647556194, 0.103.3.dev1647560143 and 853 more | 0.243.0, 37265b230e511480a9ceace492f9f6a484be1387 | pip install --upgrade 'strawberry-graphql>=0.243.0'pip install --upgrade 'strawberry-graphql>=37265b230e511480a9ceace492f9f6a484be1387' |
Multipart file upload support as defined in the GraphQL multipart request specification was enabled by default in all Strawberry HTTP view integrations. This made all Strawberry HTTP view integrations vulnerable to CSRF attacks if users did not explicitly enable CSRF preventing security mechanism for their servers.
Additionally, the Django HTTP view integration, in particular, had an exemption for Django's built-in CSRF protection (i.e., the CsrfViewMiddleware middleware) by default.
In affect, all Strawberry integrations were vulnerable to CSRF attacks by default.
Version v0.243.0 is the first strawberry-graphql including a patch. Check out our documentation for additional details and upgrade instructions.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.002 on 2026-11-24 to 0.004 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.002 | first score | v2026.06.15 |
| 2026-11-26 | 0.004 | 0.002 | v2026.06.15 |