All reports
High

Django vulnerable to Reflected File Download attack

Affected versions

Version ranges need review.

Affected versions
< 3.2.15
Fixed version
3.2.15
Affected versions
>= 4.0, < 4.0.7
Fixed version
4.0.7
Affected versions
>=3.2 <3.2.15 || >=4.0 <4.0.7
Fixed version
3.2.15 · 4.0.7

Exploitation

CVE-2022-36359

Probability of exploitation in the next 30 days: 0.94%

FIRST EPSS · 2026-11-22

Description

An issue was discovered in the HTTP FileResponse class in Django 3.2 before 3.2.15 and 4.0 before 4.0.7. An application is vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a FileResponse when the filename is derived from user-supplied input.

Links

Credits

  • sunSUNQ
  • levpachmanov
  • G-Rath