{"id":"CVE-2026-45279","published":"2026-06-01T16:52:18Z","modified":"2026-06-02T12:50:50Z","title":"Nextcloud: Limited path traversal via template API if using `{lang}` in config","vendor":"nextcloud","product":"security-advisories","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00392,"percentile":0.3416,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-j33j-qph5-4wch","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nextcloud/server/pull/57414/files","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/3468140","tags":["x_refsource_MISC"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":6.83},{"name":"CVSS severity","points":3.08}]},"vendorSlug":"nextcloud","affectedVersions":[{"vendor":"nextcloud","product":"security-advisories","versions":[">= 31.0.0, < 31.0.14",">= 32.0.0, < 32.0.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-02T12:50:41.800240Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-33705","exploited":false,"provenance":"source"}}