{"id":"CVE-2023-35840","published":"2023-06-19T00:00:00Z","modified":"2024-12-11T20:06:00Z","title":"_joinPath in elFinderVolumeLocalFileSystem.class.php in elFinder before 2.1.62 allows path traversal in the PHP…","vendor":null,"product":null,"tier":"tail","description":{"text":"_joinPath in elFinderVolumeLocalFileSystem.class.php in elFinder before 2.1.62 allows path traversal in the PHP LocalVolumeDriver connector.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01936,"percentile":0.80575,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/Studio-42/elFinder/security/advisories/GHSA-wm5g-p99q-66g4","tags":[]},{"url":"https://github.com/Studio-42/elFinder/commit/bb9aaa7b096a1b83f2f85657c43f12131ece2891","tags":[]},{"url":"https://github.com/sectroyer/CVEs/tree/main/CVE-2023-35840","tags":[]},{"url":"https://github.com/afine-com/CVE-2023-35840","tags":[]}],"priority":{"score":25.7,"factors":[{"name":"EPSS percentile","points":16.11},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.55}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2023-06-22","earliestUrl":"https://github.com/afine-com/CVE-2023-35840","repos":[{"name":"afine-com/CVE-2023-35840","url":"https://github.com/afine-com/CVE-2023-35840","stars":2,"created":"2023-06-22"}]},"first":{"date":"2023-06-22","source":"PoC-in-GitHub","url":"https://github.com/afine-com/CVE-2023-35840"},"provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-12-11T20:05:30.779296Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"studio-42/elfinder","vulnerableRanges":["<2.1.62"],"patched":["2.1.62"],"from":["GHSA-wm5g-p99q-66g4"],"provenance":"source"}],"summary":{"text":"The flaw is a path traversal weakness in the _joinPath function of elFinderVolumeLocalFileSystem.class.php in elFinder before 2.1.62, affecting the PHP LocalVolumeDriver connector. An attacker with network access and low-privilege authentication, and without requiring user interaction or a non-default configuration, can traverse outside the intended directory to write or modify files.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T07:23:19Z"},"euvd":{"id":"EUVD-2023-1903","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-43421","published":"2022-04-07","fixed":"2.1.60","kev":false},{"cve":"CVE-2022-26960","published":"2022-03-21","fixed":"2.1.61","kev":false},{"cve":"CVE-2022-27115","published":"2022-04-11","fixed":"2.1.61","kev":false,"link":{"from":"CVE-2022-27115","to":"CVE-2023-35840","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:studio-42/elfinder","fromFixed":"2.1.61","toFixed":"2.1.62","daysApart":434},{"kind":"same-code","provenance":"machine","files":["php/elFinderVolumeLocalFileSystem.class.php"],"commits":["https://github.com/Studio-42/elFinder/commit/69be51eea5b484822a29ddd40f1b72845954ba60","https://github.com/Studio-42/elFinder/commit/bb9aaa7b096a1b83f2f85657c43f12131ece2891"],"basis":"shared file"}]}},{"cve":"CVE-2023-35840","published":"2023-06-19","fixed":"2.1.62","kev":false},{"cve":"CVE-2026-41247","published":"2026-04-23","fixed":"2.1.67","kev":false},{"cve":"CVE-2026-44521","published":"2026-05-27","fixed":"2.1.68","kev":false},{"cve":"CVE-2026-81889","published":"2026-08-31","fixed":"2.1.70","kev":false}],"package":"Packagist:studio-42/elfinder"}}