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

Published Jun 1, 2026
·
Updated

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 Software

9 affected components
Nextcloud NextCloud Server>=31.0.0<31.0.14, >=32.0.0<32.0.4
Nextcloud Nextcloud Enterprise Server<32.0.4, <31.0.14, <30.0.17.7, <29.0.17.12, <28.0.14.15
Nextcloud NextCloud Server>=31.0.0<31.0.14
Nextcloud NextCloud Server>=32.0.0<32.0.4
Nextcloud NextCloud Server>=28.0.0<28.0.14.15
Nextcloud NextCloud Server>=29.0.0<29.0.17.12
Nextcloud NextCloud Server>=30.0.0<30.0.17.7
Nextcloud NextCloud Server>=31.0.0<31.0.14
Nextcloud NextCloud Server>=32.0.0<32.0.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Nextcloud Server to a version that resolves this vulnerability.

    Fixed in 32.0.4
  2. Upgrade

    Upgrade Nextcloud Server to a version that resolves this vulnerability.

    Fixed in 31.0.14
  3. Upgrade

    Upgrade Nextcloud Server to a version that resolves this vulnerability.

    Fixed in 30.0.17.7
  4. Upgrade

    Upgrade Nextcloud Server to a version that resolves this vulnerability.

    Fixed in 29.0.17.12
  5. Upgrade

    Upgrade Nextcloud Server to a version that resolves this vulnerability.

    Fixed in 28.0.14.15

Event History

Jun 1, 2026
CVE Published
via MITRE·04:52 PM
Data Sourced
via MITRE·04:52 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-45279?

The severity of CVE-2026-45279 is medium with a CVSS score of 6.5.

2

How do I fix CVE-2026-45279?

To fix CVE-2026-45279, upgrade to Nextcloud Server version 31.0.14 or 32.0.4 or later.

3

What versions of Nextcloud are affected by CVE-2026-45279?

CVE-2026-45279 affects Nextcloud Server versions from 31.0.0 to before 31.0.14 and 32.0.0 to before 32.0.4.

4

What kind of vulnerability is CVE-2026-45279?

CVE-2026-45279 is a path traversal vulnerability that allows limited file access to non-admin users.

5

Can non-admin users exploit CVE-2026-45279?

Yes, non-admin users can exploit CVE-2026-45279 under certain conditions to copy arbitrary files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203