CVE-2026-45279
JSON

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 packageVersionsReported by
nextcloud security-advisories>= 31.0.0, < 31.0.14, >= 32.0.0, < 32.0.4CVE List
nextcloud nextcloud_serverfrom 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.7NVD

All scores

GitHub_M4.4medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-22

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

Sources

SourceRecordLicence
CVE ListCVE-2026-45279 changed 2026-06-02CVE Terms of Use
NVDCVE-2026-45279 changed 2026-07-22Public domain