{"id":"CVE-2023-25579","aliases":["EUVD-2023-29522","GHSA-273v-9h7x-p68v","openSUSE-SU-2023:0083-1"],"status":"published","title":"Directory traversal in Nextcloud server","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.","severity":{"version":"3.1","score":6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00505,"percentile":0.43667,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2023-02-22T18:21:10Z","modified":"2026-10-28T02:30:57Z","affected":[{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP4","package":"nextcloud","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"23.0.12-bp154.2.3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"nextcloud","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"23.0.12-bp154.2.3.1"}]}],"bundled":3}],"products":[{"vendor":"kiteworks","product":"security-advisories"},{"vendor":"nextcloud","product":"nextcloud_server"},{"vendor":"nextcloud","product":"security-advisories"}],"references":[{"url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-273v-9h7x-p68v","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://github.com/nextcloud/server/pull/35074","tags":["x_refsource_MISC","x_transferred","Patch","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25579.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25579","tags":["advisory"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/M7E2FX5KGET4IYNWVYBLR7XYJMJ7SJD4/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1203190","tags":["report"]},{"url":"https://bugzilla.suse.com/1205802","tags":["report"]},{"url":"https://bugzilla.suse.com/1208591","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2022-35931","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-39346","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-25579","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2023-25579","title":"Directory traversal in Nextcloud server","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.","status":"published","published":"2023-02-22T18:21:10.573Z","modified":"2025-03-10T21:07:05.914Z","cvss":[{"version":"3.1","score":6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:35:19.559321Z"}],"euvd":[{"id":"EUVD-2023-29522","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.","status":"published","published":"2023-02-22T18:21:10Z","modified":"2025-03-10T21:07:05Z","cvss":[{"version":"3.1","score":6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T20:53:09.197707Z"}],"nvd":[{"id":"CVE-2023-25579","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.","status":"published","published":"2023-02-22T19:15:11.697Z","modified":"2026-06-17T05:41:32.107Z","cvss":[{"version":"3.1","score":6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:07:47.623983Z"}],"osv":[{"id":"CVE-2023-25579","title":"Directory traversal in Nextcloud server","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.","status":"published","published":"2023-02-22T18:21:10.573Z","modified":"2026-10-28T02:30:57.860358931Z","cvss":[{"version":"3.1","score":6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:44:30.709518Z"},{"id":"openSUSE-SU-2023:0083-1","title":"Security update for nextcloud","description":"This update for nextcloud fixes the following issues:\n\n- Update to 23.0.12\n  See: https://nextcloud.com/changelog/#latest23\n\n- This also fix security issues:\n  - CVE-2022-35931: Password Policy app could generate passwords that would be block (boo#1203190) \n  - CVE-2022-39346: Missing length validation of user displayname allows to generate an SQL error (boo#1205802)\n  - CVE-2023-25579: Potential directory traversal in OC\\Files\\Node\\Folder::getFullPath (boo#1208591)\n","status":"published","published":"2023-04-03T14:24:07Z","modified":"2026-02-04T02:19:54.35692Z","updated_at":"2026-11-02T16:58:32.653274Z"}]}}
