# CVE-2022-24888: Possible Injection in Nextcloud Server

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.32%, higher than 71% of CVEs (2026-12-01)
- Published: 2022-04-27T14:25:11.000Z
- Modified: 2026-06-17T04:32:44.210Z
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nextcloud security-advisories:  < 20.0.14.4; < 21.0.8; < 22.2.4; < 23.0.1
- nextcloud 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

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-w3h6-p64h-q9jp> (third-party-advisory)
- <https://github.com/nextcloud/server/pull/29895> (patch, third-party-advisory)
- <https://hackerone.com/reports/1402249> (permissions-required, third-party-advisory)
- <https://security.gentoo.org/glsa/202208-17> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2022-24888](https://www.cve.org/CVERecord?id=CVE-2022-24888), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-24888](https://nvd.nist.gov/vuln/detail/CVE-2022-24888), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24888 · Whole record: https://cve.day/CVE-2022-24888.json · Rebuilt by cve.day 2026-11-25T22:58:11.262Z
