Live threats

All CVEs / Nextcloud

CVE-2021-32679Nextcloud Server

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
1.4%
probability of exploitation in 30 days · percentile 72
Auth required
No
Published
Jul 12, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-116
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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`.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nextcloud Server.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
nextcloudnextcloud_server< 19.0.13
nextcloudnextcloud_server≥ 20.0.0 < 20.0.11
nextcloudnextcloud_server≥ 21.0.0 < 21.0.3
fedoraprojectfedora33
fedoraprojectfedora34

Official sources

References

Links published by the sources. Open them with care.