CVE-2021-32679 in Fedoraproject Fedora and 1 more product
Nextcloud Server is a Nextcloud package that handles data storage. In versions prior to 19.0.13, 20.0.11, and 21.0.3, filenames where not escaped by default in controllers using `DownloadResponse`. When a user-supplied filename was passed unsanitized into a `DownloadResponse`, this could be used to trick users into ...
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 |
|---|---|---|
| Fedoraproject | Fedora | 33 34 |
| Nextcloud | Nextcloud Server | < 19.0.13 ≥ 20.0.0, < 20.0.11 ≥ 21.0.0, < 21.0.3 |
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
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Nextcloud Server is a Nextcloud package that handles data storage. In versions prior to 19.0.13, 20.0.11, and 21.0.3, filenames where not escaped by default in controllers using `DownloadResponse`. When a user-supplied filename was passed unsanitized into a `DownloadResponse`, this could be used to trick users into downloading malicious files with a benign file extension. This would show in UI behaviours where Nextcloud applications would display a benign file extension (e.g. JPEG), but the file will actually be downloaded with an executable file extension. The vulnerability is patched in versions 19.0.13, 20.0.11, and 21.0.3. Administrators of Nextcloud instances do not have a workaround available, but developers of Nextcloud apps may manually escape the file name before passing it into `DownloadResponse`.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-32679 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-076890-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2021-07-12 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-116: CWE-116
Related attack patterns (CAPEC)
CAPEC-81 Web Server Logs Tampering via CWE-116
CAPEC-85 AJAX Footprinting via CWE-116
CAPEC-73 User-Controlled Filename via CWE-116
CAPEC-104 Cross Zone Scripting via CWE-116
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Nextcloud Server versions prior to 19.0.13, 20.0.11, and 21.0.3 are vulnerable to a filename injection issue in the DownloadResponse controller, allowing attackers to trick users into downloading malicious files with benign extensions.
An attacker can exploit this vulnerability by crafting a malicious filename that, when passed to the DownloadResponse controller, is not properly sanitized. This can lead to the user downloading a file that appears safe but is actually malicious.
Questions
What is CVE-2021-32679?
Nextcloud Server versions prior to 19.0.13, 20.0.11, and 21.0.3 are vulnerable to a filename injection issue in the DownloadResponse controller, allowing attackers to trick users into downloading malicious files with benign extensions.
What is the CVSS score for CVE-2021-32679?
CVE-2021-32679 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: 1.4%.
Is CVE-2021-32679 actively exploited?
No confirmed active exploitation of CVE-2021-32679 as of 2026-09-25.
How do I remediate CVE-2021-32679?
Priority: HIGH.
What systems are affected by CVE-2021-32679?
CVE-2021-32679 affects Fedoraproject Fedora; Nextcloud Nextcloud Server.
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":"Fedoraproject","product":"Fedora","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.