CVE-2022-36359 in Debian Linux and 1 more product
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.
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 11.0 |
| Djangoproject | Django | ≥ 3.2, < 3.2.15 ≥ 4.0, < 4.0.7 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-36359 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-322522-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2022-08-03 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-494: CWE-494
Related attack patterns (CAPEC)
CAPEC-187 Malicious Automated Software Update via Redirection via CWE-494
CAPEC-533 Malicious Manual Software Update via CWE-494
CAPEC-538 Open-Source Library Manipulation via CWE-494
CAPEC-657 Malicious Automated Software Update via Spoofing via CWE-494
CAPEC-692 Spoof Version Control System Commit Metadata via CWE-494
Show all 12
CAPEC-693 StarJacking via CWE-494
CAPEC-695 Repo Jacking via CWE-494
CAPEC-185 Malicious Software Download via CWE-494
CAPEC-186 Malicious Software Update via CWE-494
CAPEC-662 Adversary in the Browser (AiTB) via CWE-494
CAPEC-691 Spoof Open-Source Software Metadata via CWE-494
CAPEC-184 Software Integrity Attack via CWE-494
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A reflected file download (RFD) vulnerability exists in the HTTP FileResponse class in Django versions 3.2 before 3.2.15 and 4.0 before 4.0.7. This vulnerability arises when the filename for a FileResponse is derived from user-supplied input, potentially allowing attackers to trick users into downloading malicious files.
An attacker can exploit this vulnerability by crafting a URL with a specially crafted filename parameter. When a user visits this URL, the server responds with a FileResponse that includes a Content-Disposition header with the attacker-specified filename. This can lead to the user's browser downloading a file with a potentially malicious payload, believing it to be a legitimate file from the trusted site.
Questions
What is CVE-2022-36359?
A reflected file download (RFD) vulnerability exists in the HTTP FileResponse class in Django versions 3.2 before 3.2.15 and 4.0 before 4.0.7. This vulnerability arises when the filename for a FileResponse is derived from user-supplied input, potentially allowing attackers to trick users into downloading malicious files.
What is the CVSS score for CVE-2022-36359?
CVE-2022-36359 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 0.8%.
Is CVE-2022-36359 actively exploited?
No confirmed active exploitation of CVE-2022-36359 as of 2026-09-25.
How do I remediate CVE-2022-36359?
Priority: IMMEDIATE. Advisory: https://docs.djangoproject.com/en/4.0/releases/security/ PSIRT: [email protected]
What systems are affected by CVE-2022-36359?
CVE-2022-36359 affects Debian Debian Linux; Djangoproject Django.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.