4.4medium
Nextcloud: Limited path traversal via template API if using `{lang}` in config
- Severity
- 4.4medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.39% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Nextcloud is an open source content collaboration platform. In Nextcloud Server from versions 31.0.0 to before 31.0.14, and 32.0.0 to before 32.0.4, if {lang} is used in the template directory config value, non-admin users can in some cases copy arbitrary files (depending on unix permissions) into their own Nextcloud directory via a path traversal. It is recommended that the Nextcloud Server is upgraded to 32.0.4, 31.0.14. It is recommended that the Nextcloud Enterprise Server is upgraded to 32.0.4, 31.0.14, 30.0.17.7, 29.0.17.12, 28.0.14.15
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nextcloud security-advisories | >= 31.0.0, < 31.0.14, >= 32.0.0, < 32.0.4 | CVE List |
| nextcloud nextcloud_server | from 31.0.0 before 31.0.14, from 32.0.0 before 32.0.4, from 28.0.0 before 28.0.14.15, from 29.0.0 before 29.0.17.12, from 30.0.0 before 30.0.17.7 | NVD |
All scores
| GitHub_M | 4.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Nextcloud is an open source content collaboration platform. In Nextcloud Server from versions 31.0.0 to before 31.0.14, and 32.0.0 to before 32.0.4, if {lang} is used in the template directory config value, non-admin users can in some cases copy arbitrary files (depending on unix permissions) into their own Nextcloud directory via a path traversal. It is recommended that the Nextcloud Server is upgraded to 32.0.4, 31.0.14. It is recommended that the Nextcloud Enterprise Server is upgraded to 32.0.4, 31.0.14, 30.0.17.7, 29.0.17.12, 28.0.14.15
NVD (es)
Nextcloud es una plataforma de colaboración de contenido de código abierto. En Nextcloud Server desde las versiones 31.0.0 hasta antes de la 31.0.14, y 32.0.0 hasta antes de la 32.0.4, si se usa {lang} en el valor de configuración del directorio de plantillas, los usuarios no administradores pueden en algunos casos copiar archivos arbitrarios (dependiendo de los permisos unix) en su propio directorio de Nextcloud a través de un salto de ruta. Se recomienda que el Nextcloud Server se actualice a 32.0.4, 31.0.14. Se recomienda que el Nextcloud Enterprise Server se actualice a 32.0.4, 31.0.14, 30.0.17.7, 29.0.17.12, 28.0.14.15
References
| https://github.com/nextcloud/security-advisories/security/advisories/GHSA-j33j-qph5-4wch | mitigation, vendor-advisory | |
| https://github.com/nextcloud/server/pull/57414/files | issue-tracking, patch | |
| https://hackerone.com/reports/3468140 | permissions-required | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-45279 changed 2026-06-02 | CVE Terms of Use |
| NVD | CVE-2026-45279 changed 2026-07-22 | Public domain |