CVE-2021-32802
highpriority · track · 40EPSS 0.026 · 85 %ileEUUSEPSS · scored 2026-10-27
Nextcloud server is an open source, self hosted personal cloud. Nextcloud supports rendering image previews for user provided file content. For some image types, the Nextcloud server was invoking a third-party library that wasn't suited for untrusted user-supplied content. There are several security concerns with passing user-generated content to this library, such as Server-Side-Request-Forgery, file disclosure or potentially executing code on the system. The risk depends on your system configuration and the installed library version. It is recommended that the Nextcloud Server is upgraded to 20.0.12, 21.0.4 or 22.1.0. These versions do not use this library anymore. As a workaround users may disable previews by setting `enable_previews` to `false` in `config.php`.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 9–10
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (6)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- https://docs.nextcloud.com/server/21/admin_manual/configuration_files/previews_configuration.html#disabling-previewscnnvd
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-m682-v4g9-wrq7cnnvd
- https://hackerone.com/reports/1261413cnnvd
- https://security.gentoo.org/glsa/202208-17cnnvd
- https://vigilance.fr/vulnerability/Nextcloud-privilege-escalation-via-Untrusted-Control-Sphere-36388cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021090707cnnvd
- https://docs.nextcloud.com/server/21/admin_manual/configuration_files/previews_configuration.html#disabling-previewsenisa_euvd
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-m682-v4g9-wrq7enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan