Vulnerabilities · 2022 · Nextcloud
CVE-2022-24888
Nextcloud Server vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nextcloud Server runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/nextcloud/server/pull/29895 · Patch
- github.com/nextcloud/security-advisories/security/advisories/GHSA-w3h6-p64h-q9jp · Third Party Advisory
- hackerone.com/reports/1402249 · Third Party Advisory
- security.gentoo.org/glsa/202208-17 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-24888
- cve.org/CVERecord?id=CVE-2022-24888
More vulnerabilities in Nextcloud products
CVE-2025-66558CVE-2025-66557CVE-2025-66556CVE-2025-66554CVE-2025-66553CVE-2025-66552CVE-2025-66551CVE-2025-66550All 353
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.