{"id":"CVE-2026-45279","state":"PUBLISHED","title":"Nextcloud: Limited path traversal via template API if using `{lang}` in config","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","publishedAt":"2026-06-01T16:52:18.958Z","updatedAt":"2026-06-02T12:50:50.841Z","severity":{"score":4.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["nextcloud security-advisories"],"affected":[{"vendor":"nextcloud","product":"security-advisories","versions":[{"version":">= 31.0.0, < 31.0.14","status":"affected"},{"version":">= 32.0.0, < 32.0.4","status":"affected"}]}],"references":["https://github.com/nextcloud/security-advisories/security/advisories/GHSA-j33j-qph5-4wch","https://github.com/nextcloud/server/pull/57414/files","https://hackerone.com/reports/3468140"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/45xxx/CVE-2026-45279.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45279","state":"PUBLISHED","datePublished":"2026-06-01T16:52:18.958Z","dateUpdated":"2026-06-02T12:50:50.841Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-11T18:41:13.157Z"},"containers":{"cna":{"title":"Nextcloud: Limited path traversal via template API if using `{lang}` in config","descriptions":[{"lang":"en","value":"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":[{"vendor":"nextcloud","product":"security-advisories","versions":[{"version":">= 31.0.0, < 31.0.14","status":"affected"},{"version":">= 32.0.0, < 32.0.4","status":"affected"}]}],"references":[{"url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-j33j-qph5-4wch","name":"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","name":"https://github.com/nextcloud/server/pull/57414/files","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/3468140","name":"https://hackerone.com/reports/3468140","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.4,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-06-01T16:52:18.958Z"},"source":{"advisory":"GHSA-j33j-qph5-4wch","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-02T12:50:41.800240Z","id":"CVE-2026-45279","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-02T12:50:50.841Z"}}]}}}