CVE-2026-45279

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

MEDIUM
6.5
CVSS Score
Published: June 1, 2026 at 04:52 PM UTC
Updated: July 22, 2026 at 07:37 AM UTC
1 product affected across 1 vendorNextcloud/server

Using security-advisories by nextcloud?

Get instant alerts when new vulnerabilities affect security-advisories - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

28.0.0 ≤ v < 28.0.14.1529.0.0 ≤ v < 29.0.17.1230.0.0 ≤ v < 30.0.17.731.0.0 ≤ v < 31.0.1432.0.0 ≤ v < 32.0.4
Affected range stops below 28.0.14.15, so it looks safe — our inference, not a vendor statement
Affected range stops below 29.0.17.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 30.0.17.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 31.0.14, so it looks safe — our inference, not a vendor statement
Affected range stops below 32.0.4, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

x_refsource_CONFIRMMitigationVendor Advisory
Source: cverecord
https://github.com/nextcloud/security-advisories/security/advisories/GHSA-j33j-qph5-4wch
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/nextcloud/server/pull/57414/files
x_refsource_MISCPermissions Required
Source: cverecord
https://hackerone.com/reports/3468140

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card