CVE-2026-45279: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in nextcloud security-advisories
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
AI Analysis
Technical Summary
Nextcloud Server versions 31.0.0 to before 31.0.14 and 32.0.0 to before 32.0.4 contain a path traversal vulnerability related to the use of the {lang} placeholder in the template directory configuration. This flaw permits non-admin users, under certain conditions and Unix permission settings, to copy arbitrary files into their own Nextcloud directories. The vulnerability is tracked as CVE-2026-45279 and is classified under CWE-22. The CVSS v3.1 base score is 4.4 (medium severity) with network attack vector, high attack complexity, requiring high privileges, no user interaction, unchanged scope, and high confidentiality impact. The vendor recommends upgrading to Nextcloud Server 31.0.14 or 32.0.4 and corresponding Enterprise Server versions to remediate the issue.
Potential Impact
Successful exploitation allows non-admin users to copy arbitrary files into their own Nextcloud directories, potentially exposing sensitive data depending on Unix file permissions. There is no reported impact on file integrity or availability. The confidentiality of files accessible via path traversal is at risk.
Mitigation Recommendations
Upgrading Nextcloud Server to versions 31.0.14 or 32.0.4, or the corresponding Enterprise Server versions (32.0.4, 31.0.14, 30.0.17.7, 29.0.17.12, 28.0.14.15) is recommended to remediate this vulnerability. Patch status is not explicitly stated as 'official-fix' in the advisory metadata, but the vendor's recommendation to upgrade indicates that these versions contain the fix. No additional mitigations are specified.
CVE-2026-45279: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in nextcloud security-advisories
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 v3.1
Score 4.4medium
Affected software
pkg:github/nextcloud/serverRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Nextcloud Server versions 31.0.0 to before 31.0.14 and 32.0.0 to before 32.0.4 contain a path traversal vulnerability related to the use of the {lang} placeholder in the template directory configuration. This flaw permits non-admin users, under certain conditions and Unix permission settings, to copy arbitrary files into their own Nextcloud directories. The vulnerability is tracked as CVE-2026-45279 and is classified under CWE-22. The CVSS v3.1 base score is 4.4 (medium severity) with network attack vector, high attack complexity, requiring high privileges, no user interaction, unchanged scope, and high confidentiality impact. The vendor recommends upgrading to Nextcloud Server 31.0.14 or 32.0.4 and corresponding Enterprise Server versions to remediate the issue.
Potential Impact
Successful exploitation allows non-admin users to copy arbitrary files into their own Nextcloud directories, potentially exposing sensitive data depending on Unix file permissions. There is no reported impact on file integrity or availability. The confidentiality of files accessible via path traversal is at risk.
Mitigation Recommendations
Upgrading Nextcloud Server to versions 31.0.14 or 32.0.4, or the corresponding Enterprise Server versions (32.0.4, 31.0.14, 30.0.17.7, 29.0.17.12, 28.0.14.15) is recommended to remediate this vulnerability. Patch status is not explicitly stated as 'official-fix' in the advisory metadata, but the vendor's recommendation to upgrade indicates that these versions contain the fix. No additional mitigations are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-11T18:41:13.157Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a1de306e29bf47b503a556c
Added to database: 06/01/2026, 19:52:38 UTC
Last enriched: 06/08/2026, 20:53:12 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 111
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.