{"vuln_id":"CVE-2026-45279","aliases":["GHSA-j33j-qph5-4wch"],"description":"Limited path traversal via template API if using `{lang}` in config","published_at":"2026-05-12T08:48:02Z","modified_at":"2026-05-12T08:48:02Z","first_seen_at":"2026-11-22T14:05:36.492124Z","severity":"medium","severity_source":"ghsa","cvss_score":4.4,"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","cwe":["CWE-22"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00392,"epss_percentile":0.34036,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-45279"},"matched_alias":null,"items":[{"id":12473,"source":{"id":"gh-nextcloud-advisories","name":"Nextcloud security advisories (GitHub nextcloud/security-advisories)"},"title":"GHSA-j33j-qph5-4wch / CVE-2026-45279: Limited path traversal via template API if using `{lang}` in config","summary":"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","url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-j33j-qph5-4wch","published_at":"2026-05-12T08:48:02Z","updated_at":"2026-05-12T08:48:02Z","fetched_at":"2026-11-22T14:05:36.350945Z","severity":"medium","cvss_score":4.4,"epss":0.00392,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"nextcloud","product":"Server","vuln_id":"CVE-2026-45279","vuln_ids":["CVE-2026-45279","GHSA-J33J-QPH5-4WCH"],"tags":["repo-advisory","nextcloud","nextcloud entreprise","CWE-22","security","repo:nextcloud/security-advisories","stack"],"cluster_id":11618,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12473","html":"https://vulnwatch.ve1ve2.com/item/12473"}}]}