CVE-2021-32802
CVE-2021-32802 — Preview generation used third-party library not suited for user-generated content in Nextcloud server
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`.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
3%
chance of exploitation in 30 days
CVSS base
9.3
CRITICAL
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.3 | CVSS 3.1 | CRITICAL | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-829
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1055Process Injection
- T1195.001Supply Chain Compromise: Software Dependencies and Development Tools
- T1505.005Server Software Component: Terminal Services DLL
References
4 on the record
- github.com/nextcloud/security-advisories/security/advisories/GHSA-m682-v4g9-wrq7
x_refsource_CONFIRM
- hackerone.com/reports/1261413
x_refsource_MISC
- docs.nextcloud.com/server/21/admin_manual/configuration_files/previews_configuration.html#disabling-previews
x_refsource_MISC
- security.gentoo.org/glsa/202208-17
vendor-advisory, x_refsource_GENTOO
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-0770 Langflow exec_globals Inclusion of Functionality from Untrusted Control Sphere Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2024-9537 ScienceLogic SL1 Unspecified VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2025-32463 Sudo Inclusion of Functionality from Untrusted Control Sphere VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2026-111357 Ivanti Connect Secure Missing Authentication for Critical Function VulnerabilityCVSS 7.0 · CISA KEV
- CVE-2026-71471 Acm-search-v2-rhel9: search-v2-operator: hub search cr collector.imageoverride propagated to every spoke as arbitrary container imageCVSS 9.0
- CVE-2026-114134 Black: GitHub Action installs unvalidated required-version from pyproject.tomlCVSS 8.7
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.