CVE-2022-24888: Nextcloud Server

Medium severity, CVSS 4.3. EPSS: 1.3% chance of exploitation in the next 30 days.

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 Nextcloud Server: before 20.0.14.4 (fixed in 20.0.14.4); from 21.0.0, before 21.0.8 (fixed in 21.0.8); from 22.0.0, before 22.2.4 (fixed in 22.2.4); from 23.0.0, before 23.0.1 (fixed in 23.0.1)

Published 2022-04-27. Last modified 2026-06-17.