Every CVE Search/ Get API key

CVE-2022-36359

Django vulnerable to Reflected File Download attack

8.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.94%Unchanged since Aug 4, 2022
90%50%10%1%

What each source reports

NVD Score used 8.8

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.

Record
CVE-2022-36359
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-494
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2022-36359
Updated
2026-11-02
EUVDEUVD-2022-0092 0.0

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.

Record
EUVD-2022-0092
CVSS
0.0 NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-8x94-hmjh-97hq 8.8

Django vulnerable to Reflected File Download attack

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.

Record
GHSA-8x94-hmjh-97hq
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-494
Updated
2026-11-02
OSVALPINE-CVE-2022-36359 8.8

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.

Record
ALPINE-CVE-2022-36359
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSVDEBIAN-CVE-2022-36359 8.8

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.

Record
DEBIAN-CVE-2022-36359
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-03
Show 17 moreShow less
OSVGHSA-8x94-hmjh-97hq 8.8

Django vulnerable to Reflected File Download attack

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.

Record
GHSA-8x94-hmjh-97hq
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-494
Updated
2026-11-02
OSVUBUNTU-CVE-2022-36359 8.8

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.

Record
UBUNTU-CVE-2022-36359
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBIT-django-2022-36359 No score

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.

Record
BIT-django-2022-36359
Updated
2026-11-02
OSVCLSA-2025-1756944687 No score

TuxCare security update for django (3 CVEs)

TuxCare rebuilt django to address 3 CVEs. Fixed in 4.0.post3+tuxcare.

Record
CLSA-2025-1756944687
Updated
2026-11-02
OSV No score

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.

Record
CVE-2022-36359
Updated
2026-11-02
OSVMGASA-2022-0281 No score

Updated python-django packages fix security vulnerability

An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. The Trunc() and Extract() database functions are subject to SQL injection if untrusted data is used as a kind/lookup_name value. Applications that constrain the lookup name and kind choice to a known safe list are unaffected. (CVE-2022-34265) 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. (CVE-2022-36359)

Record
MGASA-2022-0281
Updated
2026-11-02
OSVopenSUSE-SU-2022:10103-1 No score

Security update for python-Django

This update for python-Django fixes the following issues:

  • CVE-2022-36359: Fixed potential reflected file download vulnerability in FileResponse (boo#1201923)
    • Backport fix and tests from uptream branch 3.2.X
Record
openSUSE-SU-2022:10103-1
Updated
2026-11-02
OSVopenSUSE-SU-2023:0005-1 No score

Security update for python-Django

This update for python-Django fixes the following issues:

  • CVE-2022-41323: Fixed potential denial-of-service vulnerability in internationalized URLs (boo#1203793)

  • CVE-2022-36359: Fixed a potential reflected file download vulnerability in FileResponse (boo#1201923)

  • Update from 2.2.12 to 2.2.28 (boo#1198297)

    2.2.28:

    • CVE-2022-28346: Fixed potential SQL injection in QuerySet.annotate(), aggregate(), and extra() (bsc#1198398)
    • CVE-2022-28347: Fixed potential SQL injection via QuerySet.explain(**options) (bsc#1198399)

    2.2.27:

    • CVE-2022-22818: Fixed possible XSS via {% debug %} template tag (bsc#1195086)
    • CVE-2022-23833: Fixed denial-of-service possibility in file uploads (bsc#1195088)

    2.2.26:

    • CVE-2021-45115: Denial-of-service possibility in UserAttributeSimilarityValidator (bsc#1194115)
    • CVE-2021-45116: Potential information disclosure in dictsort template filter (bsc#1194117)
    • CVE-2021-45452: Potential directory-traversal via Storage.save() (bsc#)

    2.2.25:

    • CVE-2021-44420: Potential bypass of an upstream access control based on URL paths (bsc#1193240)

    2.2.24:

    • CVE-2021-33203: Potential directory traversal via admindocs
    • CVE-2021-33571: Possible indeterminate SSRF, RFI, and LFI attacks since validators accepted leading zeros in IPv4 addresses

    2.2.23:

    • regression fix

    2.2.22:

    • CVE-2021-32052: Header injection possibility since URLValidator accepted newlines in input on Python 3.9.5+
Record
openSUSE-SU-2023:0005-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:12236-1 No score

python310-Django-4.1-1.1 on GA media

These are all security issues fixed in the python310-Django-4.1-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12236-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:14208-1 No score

python310-Django4-4.2.14-1.1 on GA media

These are all security issues fixed in the python310-Django4-4.2.14-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:14208-1
Updated
2026-11-02
OSVopenSUSE-SU-2025:14662-1 No score

python311-Django-5.1.5-1.1 on GA media

These are all security issues fixed in the python311-Django-5.1.5-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:14662-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:10005-1 No score

python312-Django6-6.0-1.1 on GA media

These are all security issues fixed in the python312-Django6-6.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:10005-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:11235-1 No score

python313-Django4-4.2.30-4.1 on GA media

These are all security issues fixed in the python313-Django4-4.2.30-4.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11235-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:11270-1 No score

python313-Django5-5.2.16-1.1 on GA media

These are all security issues fixed in the python313-Django5-5.2.16-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11270-1
Updated
2026-11-02
OSVPYSEC-2022-245 No score

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.

Record
PYSEC-2022-245
Updated
2026-11-02
OSVROOT-APP-PYPI-CVE-2022-36359 No score

CVE-2022-36359 in django - Patched by Root

Root has patched CVE-2022-36359 in the django package for Root:PyPI. Multiple fixed versions available.

Record
ROOT-APP-PYPI-CVE-2022-36359
Updated
2026-11-02
OSVUSN-5549-1 No score

python-django vulnerability

It was discovered that Django incorrectly handled certain FileResponse. An attacker could possibly use this issue to expose sensitive information or gain access over user machine.

Record
USN-5549-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
django
PyPI
4.0 up to 4.0.7
4.0.7
django
PyPI
before 3.2.15
3.2.15
py3-django
Alpine:v3.16
before 3.2.16-r0
3.2.16-r0
py3-django
Alpine:v3.17
before 3.2.15-r0
3.2.15-r0
py3-django
Alpine:v3.18
before 3.2.15-r0
3.2.15-r0
py3-django
Alpine:v3.19
before 3.2.15-r0
3.2.15-r0
py3-django
Alpine:v3.20
before 3.2.15-r0
3.2.15-r0
py3-django
Alpine:v3.21
before 3.2.15-r0
3.2.15-r0
py3-django
Alpine:v3.22
before 3.2.15-r0
3.2.15-r0
py3-django
Alpine:v3.23
before 3.2.15-r0
3.2.15-r0
Show 24 moreShow less
Affected packages
PackageAffectedFixed
py3-django
Alpine:v3.24
before 3.2.15-r0
3.2.15-r0
django
Bitnami
3.2.0 up to 3.2.15, 4.0.0 up to 4.0.7
3.2.154.0.7
django
TuxCare:PyPI
From an advisory covering 3 CVEs
4.0 up to 4.0.post3+tuxcare, plus listed versions
4.0.post1+tuxcare4.0.post2+tuxcare
4.0.post3+tuxcare
python-django
Debian:12
before 3:3.2.15-1
3:3.2.15-1
python-django
Debian:13
before 3:3.2.15-1
3:3.2.15-1
python-django
Debian:14
before 3:3.2.15-1
3:3.2.15-1
python-django
Debian:11
From an advisory covering 7 CVEs
before 2:2.2.28-1~deb11u1, plus listed versions
2:2.2.24-12:2.2.25-1~deb11u12:2.2.26-1~deb11u1
2:2.2.28-1~deb11u1
django
PyPI
before 3.2.15, plus listed versions
1.0.11.0.21.0.31.0.41.1
Show 45 moreShow less
1.1.11.1.21.1.31.1.41.101.10.11.10.21.10.31.10.41.10.51.10.61.10.71.10.81.10a11.10b11.10rc11.111.11.11.11.101.11.111.11.121.11.131.11.141.11.151.11.161.11.171.11.181.11.21.11.201.11.211.11.221.11.231.11.241.11.251.11.261.11.271.11.281.11.291.11.31.11.41.11.51.11.61.11.71.11.81.11.9
3.2.15
django
PyPI
4.0 up to 4.0.7, plus listed versions
4.0.14.0.24.0.34.0.44.0.54.0.6
4.0.7
python-django
Mageia:8
From an advisory covering 2 CVEs
before 3.2.15-1.mga8
3.2.15-1.mga8
django
PyPI
3.2 up to 3.2.15, 4.0 up to 4.0.7, plus listed versions
3.2.13.2.103.2.113.2.123.2.13
Show 15 moreShow less
3.2.143.2.23.2.33.2.43.2.53.2.63.2.73.2.83.2.94.0.14.0.24.0.34.0.44.0.54.0.6
3.2.154.0.7
django
Root:PyPI
before 2.2.28+aikido.2
2.2.28+aikido.22.2.28+aikido.32.2.28+aikido.42.2.28+aikido.5
python-django
Ubuntu:20.04:LTS
before 2:2.2.12-1ubuntu0.13, plus listed versions
1:1.11.22-1ubuntu12:2.2.6-1ubuntu12:2.2.9-2ubuntu12:2.2.10-12:2.2.10-1ubuntu1
Show 14 moreShow less
2:2.2.11-12:2.2.12-12:2.2.12-1ubuntu0.12:2.2.12-1ubuntu0.22:2.2.12-1ubuntu0.32:2.2.12-1ubuntu0.42:2.2.12-1ubuntu0.52:2.2.12-1ubuntu0.62:2.2.12-1ubuntu0.72:2.2.12-1ubuntu0.82:2.2.12-1ubuntu0.92:2.2.12-1ubuntu0.102:2.2.12-1ubuntu0.112:2.2.12-1ubuntu0.12
2:2.2.12-1ubuntu0.13
python-django
Ubuntu:22.04:LTS
before 2:3.2.12-2ubuntu1.2, plus listed versions
2:2.2.24-1ubuntu12:3.2.12-22:3.2.12-2ubuntu12:3.2.12-2ubuntu1.1
2:3.2.12-2ubuntu1.2
python-Django
SUSE:Package Hub 15 SP4
before 2.2.28-bp154.2.3.3
2.2.28-bp154.2.3.3
python-Django
openSUSE:Leap 15.4
before 2.2.28-bp154.2.3.3
2.2.28-bp154.2.3.3
python-Django
SUSE:Package Hub 15 SP3
From an advisory covering 13 CVEs
before 2.2.28-bp153.2.3.1
2.2.28-bp153.2.3.1
python-Django
openSUSE:Leap 15.3
From an advisory covering 13 CVEs
before 2.2.28-bp153.2.3.1
2.2.28-bp153.2.3.1
python-Django
openSUSE:Tumbleweed
before 4.1-1.1
4.1-1.1
python-Django4
openSUSE:Tumbleweed
From an advisory covering 51 CVEs
before 4.2.14-1.1
4.2.14-1.1
python-Django
openSUSE:Tumbleweed
From an advisory covering 12 CVEs
before 5.1.5-1.1
5.1.5-1.1
python-Django6
openSUSE:Tumbleweed
From an advisory covering 70 CVEs
before 6.0-1.1
6.0-1.1
python-Django4
openSUSE:Tumbleweed
From an advisory covering 59 CVEs
before 4.2.30-4.1
4.2.30-4.1
python-Django5
openSUSE:Tumbleweed
From an advisory covering 93 CVEs
before 5.2.16-1.1
5.2.16-1.1

History

History
RecordedChangedSources
affected, factsOSV
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-36359 is a high vulnerability (CVSS 8.8) in Djangoproject Django, published August 3, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.94%, the 61st percentile. Fixed in django 4.0.7.

References

Show 131 moreShow less
This page doesn't list everything

Left out here: 241 versions. The JSON record has them.

MoveEnter Open