CVEvulnerability
CVE-2023-25579
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2023-02-22
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.0 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-22
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.
Affected configurations
• nextcloud nextcloud server (< 23.0.12)
• nextcloud nextcloud server (>= 20.0.0 < 20.0.14)
• nextcloud nextcloud server (>= 21.0.0 < 21.0.9)
• nextcloud nextcloud server (>= 22.2.0 < 22.2.10)
• nextcloud nextcloud server (>= 23.0.0 < 23.0.12)
• nextcloud nextcloud server (>= 24.0.0 < 24.0.8)
• nextcloud nextcloud server (>= 25.0.0 < 25.0.2)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-273v-9h7x-p68v Vendor Advisory
- https://github.com/nextcloud/server/pull/35074 Patch
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-273v-9h7x-p68v Vendor Advisory
- https://github.com/nextcloud/server/pull/35074 Patch