Medium severity · published Jun 1, 2026
CVE-2026-45279
Nextcloud: Limited path traversal via template API if using `{lang}` in config
6.5
CVSS
0.4%
EPSS
No
On KEV
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
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 33% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SE
security-advisories · nextcloud
>= 31.0.0, < 31.0.14; >= 32.0.0, < 32.0.4 · source: vendor
NS
Nextcloud Server · Nextcloud
31.0.0 before 31.0.14; 32.0.0 before 32.0.4; 28.0.0 before 28.0.14.15; 29.0.0 before 29.0.17.12; 30.0.0 before 30.0.17.7; 31.0.0 before 31.0.14; +1 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-45279
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-45279
Mitigation
https://github.com/nextcloud/security-advisories/security/advisories/GHSA-j33j-qph5-4wch
Issue Tracking
https://github.com/nextcloud/server/pull/57414/files
Permissions Required
https://hackerone.com/reports/3468140
More from security-advisories
9.8
CVE-2022-31132
Unauthenticated SSRF in 3rd party module "cerdic/csstidy"
8.8
CVE-2026-45284
Nextcloud: Wrong condition in the User OIDC app's LdapService allowed deleted LDAP users to authenticate
8.2
CVE-2026-45545
Nextcloud: SQL Injection in Column Type Parameter Allows Arbitrary SQL Execution
8.1
CVE-2026-45281
Nextcloud: Cross-Account Calendar Takeover via Unauthorized Group-Member-Set Update
8.1
CVE-2026-45156
Nextcloud: Authentication Bypass in ID4me handling via Missing JWT Signature Verification in User OIDC
