_joinPath in elFinderVolumeLocalFileSystem.class.php in elFinder before 2.1.62 allows path traversal in the PHP LocalVolumeDriver connector.
https://github.com/sectroyer/CVEs/tree/main/CVE-2023-35840
https://github.com/afine-com/CVE-2023-35840
https://github.com/Studio-42/elFinder/security/advisories/GHSA-wm5g-p99q-66g4
https://github.com/Studio-42/elFinder/commit/bb9aaa7b096a1b83f2f85657c43f12131ece2891