# CVE-2026-45279: Nextcloud: Limited path traversal via template API if using `{lang}` in config

- Severity: Medium 4.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-06-01T16:52:18.958Z
- Modified: 2026-07-22T07:10:00.107Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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

(As written by CVE List.)

## Affected

- nextcloud security-advisories: >= 31.0.0, < 31.0.14; >= 32.0.0, < 32.0.4
- nextcloud nextcloud_server: from 31.0.0 before 31.0.14; from 32.0.0 before 32.0.4; from 28.0.0 before 28.0.14.15; from 29.0.0 before 29.0.17.12; from 30.0.0 before 30.0.17.7

## Every score

- GitHub_M: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-j33j-qph5-4wch> (mitigation, vendor-advisory)
- <https://github.com/nextcloud/server/pull/57414/files> (issue-tracking, patch)
- <https://hackerone.com/reports/3468140> (permissions-required)

## Sources

- CVE List: [CVE-2026-45279](https://www.cve.org/CVERecord?id=CVE-2026-45279), CVE Terms of Use, modified 2026-06-02
- NVD: [CVE-2026-45279](https://nvd.nist.gov/vuln/detail/CVE-2026-45279), Public domain, modified 2026-07-22

---

Page: https://cve.day/CVE-2026-45279 · Whole record: https://cve.day/CVE-2026-45279.json · Rebuilt by cve.day 2026-11-25T22:59:23.479Z
