Skip to content

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

MediumCVSS 6.5 EPSS 0.39%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
nextcloud server >= 28.0.0, < 28.0.14.15; >= 29.0.0, < 29.0.17.12; >= 30.0.0, < 30.0.17.7; >= 31.0.0, < 31.0.14 +1 more 28.0.14.15, 29.0.17.12, 30.0.17.7, 31.0.14, 32.0.4 Fixed
Nextcloud security-advisories = >= 31.0.0, < 31.0.14; = >= 32.0.0, < 32.0.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Nextcloud security-advisories = >= 31.0.0, < 31.0.14 No fix listed
Nextcloud security-advisories = >= 32.0.0, < 32.0.4 No fix listed
nextcloud server >= 31.0.0, < 31.0.14 31.0.14
nextcloud server >= 32.0.0, < 32.0.4 32.0.4
nextcloud server >= 28.0.0, < 28.0.14.15 28.0.14.15
nextcloud server >= 29.0.0, < 29.0.17.12 29.0.17.12
nextcloud server >= 30.0.0, < 30.0.17.7 30.0.17.7

References