CVE-2023-25579
published medium CVSS 3.1 · 6.0Directory traversal in Nextcloud server
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nextcloud | — | security-advisories< 23.0.12 · >= 24.0.0, < 24.0.8 · >= 25.0.0, < 25.0.2 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-15.4 | nextcloudnoarch | Advisory build | 23.0.12-bp154.2.3.1 | OPENSUSE-SU-2023:0083-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | nextcloud-apachenoarch | Advisory build | 23.0.12-bp154.2.3.1 | OPENSUSE-SU-2023:0083-1 |
Description
Nextcloud server is a self hosted home cloud product. In affected versions the `OC\Files\Node\Folder::getFullPath()` function was validating and normalizing the string in the wrong order. The function is used in the `newFile()` and `newFolder()` items, which may allow to creation of paths outside of ones own space and overwriting data from other users with crafted paths. This issue has been addressed in versions 25.0.2, 24.0.8, and 23.0.12. Users are advised to upgrade. There are no known workarounds for this issue.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nextcloud | security-advisories | < 23.0.12 (affected)>= 24.0.0, < 24.0.8 (affected)>= 25.0.0, < 25.0.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
2Provider assertions
3GitHub_M · cna
Directory traversal in Nextcloud server
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- bc57626472ac00123f4f78ba59997b16980b8cbecf6de7f1f0ebf0f090698997
- Ingested
- 23 Sep 2026, 08:06:55 UTC
- Source record
- Official CVE record