GHSA-j33j-qph5-4wch / CVE-2026-45279: Limited path traversal via template API if using `{lang}` in config
- Published:
- Fetched:
- Updated:
- Affects:
- nextcloud Server
https://github.com/nextcloud/security-advisories/security/advisories/GHSA-j33j-qph5-4wch ↗
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