# CVE-2024-47082: Strawberry GraphQL Cross-Site Request Forgery (CSRF) vulnerability

- Severity: Medium 4.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-09-25T17:48:24.065Z
- Modified: 2026-06-17T07:56:30.803Z
- Also known as: GHSA-79gp-q4wv-33fr, PYSEC-2024-171
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- strawberry-graphql strawberry: < 0.243.0
- strawberry-graphql (PyPI): before 0.243.0; before 37265b230e511480a9ceace492f9f6a484be1387
- strawberryrocks strawberry: before 0.243.0

## Every score

- GitHub_M: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L`
- GitHub: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-79gp-q4wv-33fr> (advisory, vendor-advisory, web)
- <https://github.com/strawberry-graphql/strawberry/commit/37265b230e511480a9ceace492f9f6a484be1387> (fix, patch, web)
- <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)

## Sources

- CVE List: [CVE-2024-47082](https://www.cve.org/CVERecord?id=CVE-2024-47082), CVE Terms of Use, modified 2024-09-25
- GitHub Advisory Database: [GHSA-79gp-q4wv-33fr](https://github.com/advisories/GHSA-79gp-q4wv-33fr), CC-BY-4.0, modified 2025-01-21
- NVD: [CVE-2024-47082](https://nvd.nist.gov/vuln/detail/CVE-2024-47082), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-171](https://osv.dev/vulnerability/PYSEC-2024-171), CC-BY-4.0, modified 2025-01-18

---

Page: https://cve.day/CVE-2024-47082 · Whole record: https://cve.day/CVE-2024-47082.json · Rebuilt by cve.day 2026-11-25T22:58:45.771Z
