6.5

CVE-2026-45279

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

Limited path traversal via template API if using `{lang}` in config

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
Mögliche Gegenmaßnahme
Server: * Remove `{lang}` from the templatedirectory config value * No other workaround available
Enterprise Server: * Remove `{lang}` from the templatedirectory config value * No other workaround available
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
NextcloudNextcloud Server SwEdition- Version >= 31.0.0 < 31.0.14
NextcloudNextcloud Server SwEdition- Version >= 32.0.0 < 32.0.4
NextcloudNextcloud Server SwEditionenterprise Version >= 28.0.0 < 28.0.14.15
NextcloudNextcloud Server SwEditionenterprise Version >= 29.0.0 < 29.0.17.12
NextcloudNextcloud Server SwEditionenterprise Version >= 30.0.0 < 30.0.17.7
NextcloudNextcloud Server SwEditionenterprise Version >= 31.0.0 < 31.0.14
NextcloudNextcloud Server SwEditionenterprise Version >= 32.0.0 < 32.0.4
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Weitere Schwachstelleninformationen
SystemNextcloud
Produkt Server
Version >= 31.0.0, < 31.0.14
Version >= 32.0.0, < 32.0.4
SystemNextcloud
Produkt Enterprise Server
Version >= 28.0.0, < 28.0.14.15
Version >= 29.0.0, < 29.0.17.12
Version >= 30.0.0, < 30.0.17.7
Version >= 31.0.0, < 31.0.14
Version >= 32.0.0, < 32.0.4
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.39% 0.307
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 6.5 2.8 3.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
security-advisories@github.com 4.4 0.7 3.6
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

https://github.com/nextcloud/security-advisories/security/advisories/GHSA-j33j-qph5-4wch
Vendor Advisory
Mitigation
https://github.com/nextcloud/server/pull/57414/files
Patch
Issue Tracking
https://hackerone.com/reports/3468140
Permissions Required
https://github.com/nextcloud/security-advisories/security/advisories/GHSA-j33j-qph5-4wch
Third Party Advisory