What’s Vulnerable › Vulnerabilities
CVE-2022-24888: Possible Injection in Nextcloud Server
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-04-27 · updated 2026-06-17
- Weakness: CWE-74
Description
Nextcloud Server is the file server software for Nextcloud, a self-hosted productivity platform. Prior to versions 20.0.14.4, 21.0.8, 22.2.4, and 23.0.1, it is possible to create files and folders that have leading and trailing \n, \r, \t, and \v characters. The server rejects files and folders that have these characters in the middle of their names, so this might be an opportunity for injection. This issue is fixed in versions 20.0.14.4, 21.0.8, 22.2.4, and 23.0.1. There are currently no known workarounds.
Affected products
- Nextcloud Server: before 20.0.14.4; from 21.0.0 before 21.0.8; from 22.0.0 before 22.2.4; from 23.0.0 before 23.0.1 — fixed in 20.0.14.4, 21.0.8, 22.2.4, 23.0.1
How to fix
Upgrade to a fixed version: Nextcloud Server 20.0.14.4, 21.0.8, 22.2.4, 23.0.1. Check the vendor advisory for mitigations.
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-w3h6-p64h-q9jp
- https://github.com/nextcloud/server/pull/29895
- https://hackerone.com/reports/1402249
- https://security.gentoo.org/glsa/202208-17
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-w3h6-p64h-q9jp
- https://github.com/nextcloud/server/pull/29895
- https://hackerone.com/reports/1402249
- https://security.gentoo.org/glsa/202208-17
Get alerted when CVE-2022-24888 or the next vulnerability affects your stack