{"id":"CVE-2023-35840","aliases":["EUVD-2023-1903","GHSA-wm5g-p99q-66g4"],"status":"published","title":"elFinder vulnerable to path traversal in LocalVolumeDriver connector","description":"_joinPath in elFinderVolumeLocalFileSystem.class.php in elFinder before 2.1.62 allows path traversal in the PHP LocalVolumeDriver connector.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01936,"percentile":0.80218,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-22"],"published":"2023-06-14T16:37:01Z","modified":"2026-10-28T02:30:33Z","exploits":[{"source":"pocgithub","id":"afine-com/CVE-2023-35840","title":"afine-com/CVE-2023-35840","date":"2023-06-22","url":"https://github.com/afine-com/CVE-2023-35840"}],"fixes":[{"ecosystem":"Packagist","package":"studio-42/elfinder","fixed_in":["2.1.62"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"studio-42/elfinder","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.62"}]}]},{"source":"osv","ecosystem":"Packagist","package":"studio-42/elfinder","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.62"}]}],"versions":["2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.1.0","2.1.1","2.1.10","2.1.11","2.1.12","2.1.13","2.1.14","2.1.15","2.1.16","2.1.17","2.1.18","2.1.19","2.1.2","2.1.20","2.1.21","2.1.22","2.1.23","2.1.24","2.1.25","2.1.26","2.1.27","2.1.28","2.1.29","2.1.3","2.1.30","2.1.31","2.1.32","2.1.33","2.1.34","2.1.35","2.1.36","2.1.37","2.1.38","2.1.39","2.1.4","2.1.40","2.1.41","2.1.42","2.1.43","2.1.44","2.1.45","2.1.46","2.1.47","2.1.48","2.1.49","2.1.5","2.1.50","2.1.51","2.1.52","2.1.53","2.1.54","2.1.55","2.1.56","2.1.57","2.1.58","2.1.59","2.1.6","2.1.60","2.1.61","2.1.7","2.1.8","2.1.9"]}],"products":[{"vendor":"std42","product":"elfinder"}],"references":[{"url":"https://github.com/Studio-42/elFinder/security/advisories/GHSA-wm5g-p99q-66g4","tags":["x_transferred","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/Studio-42/elFinder/commit/bb9aaa7b096a1b83f2f85657c43f12131ece2891","tags":["x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"https://github.com/sectroyer/CVEs/tree/main/CVE-2023-35840","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/afine-com/CVE-2023-35840","tags":["x_transferred","Exploit","Third Party Advisory","package"]},{"url":"https://github.com/advisories/GHSA-wm5g-p99q-66g4"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35840.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35840","tags":["advisory"]},{"url":"https://github.com/Studio-42/elFinder","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-35840","description":"_joinPath in elFinderVolumeLocalFileSystem.class.php in elFinder before 2.1.62 allows path traversal in the PHP LocalVolumeDriver connector.","status":"published","published":"2023-06-19T00:00:00Z","modified":"2024-12-11T20:06:00.931Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:35:33.794347Z"}],"euvd":[{"id":"EUVD-2023-1903","description":"_joinPath in elFinderVolumeLocalFileSystem.class.php in elFinder before 2.1.62 allows path traversal in the PHP LocalVolumeDriver connector.","status":"published","published":"2023-06-19T00:00:00Z","modified":"2024-12-11T20:06:00Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-03T00:04:36.46341Z"}],"ghsa":[{"id":"GHSA-wm5g-p99q-66g4","title":"elFinder vulnerable to path traversal in LocalVolumeDriver connector","description":"### Impact\nPath Traversal vulnerability in PHP LocalVolumeDriver connector. This vulnerability can be exploited by allowing untrusted users to write to the local file system.\n\nThis issue was caused by incomplete validity checking of the supplied request parameters. That problem has been fixed in elFinder Version 2.1.62.\n\n### Patches\nThis vulnerability has been fixed in elFinder 2.1.62. Installation managers should update to the latest version as soon as possible.\n\n### Workarounds\nIf you cannot update for some reason, you must stop using it or prohibit writing to untrusted users.","status":"published","published":"2023-06-14T16:37:01Z","modified":"2023-06-19T20:17:53Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:55.184601Z"}],"nvd":[{"id":"CVE-2023-35840","description":"_joinPath in elFinderVolumeLocalFileSystem.class.php in elFinder before 2.1.62 allows path traversal in the PHP LocalVolumeDriver connector.","status":"published","published":"2023-06-19T01:15:08.71Z","modified":"2026-06-17T06:05:18.577Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:08:06.335469Z"}],"osv":[{"id":"CVE-2023-35840","description":"_joinPath in elFinderVolumeLocalFileSystem.class.php in elFinder before 2.1.62 allows path traversal in the PHP LocalVolumeDriver connector.","status":"published","published":"2023-06-19T00:00:00Z","modified":"2026-10-28T02:30:33.998308883Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:32.510144Z"},{"id":"GHSA-wm5g-p99q-66g4","title":"elFinder vulnerable to path traversal in LocalVolumeDriver connector","description":"### Impact\nPath Traversal vulnerability in PHP LocalVolumeDriver connector. This vulnerability can be exploited by allowing untrusted users to write to the local file system.\n\nThis issue was caused by incomplete validity checking of the supplied request parameters. That problem has been fixed in elFinder Version 2.1.62.\n\n### Patches\nThis vulnerability has been fixed in elFinder 2.1.62. Installation managers should update to the latest version as soon as possible.\n\n### Workarounds\nIf you cannot update for some reason, you must stop using it or prohibit writing to untrusted users.","status":"published","published":"2023-06-14T16:37:01Z","modified":"2026-07-08T06:52:55.688576851Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:58.767335Z"}]}}
