VulnWatch by ve1ve2
medium 4.4 EPSS 0.39%

GHSA-j33j-qph5-4wch / CVE-2026-45279: Limited path traversal via template API if using `{lang}` in config

Source:
Nextcloud security advisories (GitHub nextcloud/security-advisories)
Published:
Fetched:
Updated:
Affects:
nextcloud Server

https://github.com/nextcloud/security-advisories/security/advisories/GHSA-j33j-qph5-4wch ↗

repo-advisorynextcloudnextcloud entrepriseCWE-22securityrepo:nextcloud/security-advisoriesstack

Limited path traversal via template API if using `{lang}` in config ### Impact 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. ### Patches 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 ### Workarounds * Remove `{lang}` from the templatedirectory config value * No other workaround available ### References * [HackerOne](https://hackerone.com/reports/3468140) * [PullRequest](https://github.com/nextcloud/server/pull/57414/files) ### For more information If you have any questions or comments about this advisory: * Create a post in [nextcloud/security-advisories](https://github.com/nextcloud/security-advisories/discussions) * Customers: Open a support ticket at [portal.nextcloud.com](https://portal.nextcloud.com) Affected packages: nextcloud entreprise:Server, nextcloud:Server Patched: Server 32.0.4, 31.0.14, Server 32.0.4, 31.0.14, 30.0.17.7, 29.0.17.12, 28.0.14.15

Linked vulnerabilities (2)

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N

Limited path traversal via template API if using `{lang}` in config

CWE: CWE-22Aliases: CVE-2026-45279
CVE-2026-45279 medium 4.4 EPSS 0.39% (p34) NVDCVE.orgGHSA
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N

Limited path traversal via template API if using `{lang}` in config

CWE: CWE-22Aliases: GHSA-j33j-qph5-4wch