CVE-2024-47082
HIGH 8.0CVSS 3.1Cross-Site Request Forgery (CSRF) in strawberry-graphql
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.
- Published
- 25 Sep 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-352
- Also known as
- GHSA-79gp-q4wv-33frPYSEC-2024-171
- Sources
- NVDJSONOSV GHSA-79gp-q4wv-33frJSONOSV PYSEC-2024-171JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | strawberryrocks | strawberrycpe:2.3:a:strawberryrocks:strawberry:*:*:*:*:*:*:*:* |
< 0.243.0 | 0.243.0 |
| OSV | PyPI | strawberry-graphql | < 0.243.0 | 0.243.0 |
References
- https://github.com/strawberry-graphql/strawberry/commit/37265b230e511480a9ceace492f9f6a484be1387 · Patch, WEB, FIX
- https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-79gp-q4wv-33fr · Vendor Advisory, WEB, ADVISORY
- https://strawberry.rocks/docs/breaking-changes/0.243.0 · Release Notes, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-47082 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/strawberry-graphql/PYSEC-2024-171.yaml · WEB
- https://github.com/strawberry-graphql/strawberry · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 25 Sep 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 25 Sep 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Sep 2024)