Live threats

All CVEs / Strawberryrocks

CVE-2024-47082Strawberryrocks Strawberry

High 8.0

Priority
48
CVSS 3.1
8.0
EPSS
0.4%
probability of exploitation in 30 days · percentile 25
Auth required
Yes
Published
Sep 25, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-352
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

What happens

Strawberry GraphQL is a library for creating GraphQL APIs. Prior to version 0.243.0, 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 cross-site request forgery (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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Strawberry.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI strawberry-graphql < 0.243.0 0.243.0 pip install "strawberry-graphql>=0.243.0"
PyPI strawberry-graphql < 0.243.0 0.243.0 pip install "strawberry-graphql>=0.243.0"

Per OSV / GitHub Advisories (GHSA-79gp-q4wv-33fr, PYSEC-2024-171). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
strawberryrocksstrawberry< 0.243.0

Official sources

References

Links published by the sources. Open them with care.