# CVE-2023-35840: elFinder vulnerable to path traversal in LocalVolumeDriver connector

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.94%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2023-06-14T16:37:01.000Z
- Modified: 2026-07-08T06:52:55.688Z
- Also known as: GHSA-wm5g-p99q-66g4
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

_joinPath in elFinderVolumeLocalFileSystem.class.php in elFinder before 2.1.62 allows path traversal in the PHP LocalVolumeDriver connector.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- studio-42/elfinder (Packagist): before 2.1.62
- std42 elfinder: before 2.1.62

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/Studio-42/elFinder/security/advisories/GHSA-wm5g-p99q-66g4> (exploit, vendor-advisory, web)
- <https://github.com/sectroyer/CVEs/tree/main/CVE-2023-35840> (exploit, third-party-advisory)
- <https://github.com/afine-com/CVE-2023-35840> (exploit, third-party-advisory)
- <https://github.com/Studio-42/elFinder/commit/bb9aaa7b096a1b83f2f85657c43f12131ece2891> (patch, vendor-advisory, web)
- <https://github.com/Studio-42/elFinder> (package)

## Sources

- CVE List: [CVE-2023-35840](https://www.cve.org/CVERecord?id=CVE-2023-35840), CVE Terms of Use, modified 2024-12-11
- GitHub Advisory Database: [GHSA-wm5g-p99q-66g4](https://github.com/advisories/GHSA-wm5g-p99q-66g4), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2023-35840](https://nvd.nist.gov/vuln/detail/CVE-2023-35840), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-35840 · Whole record: https://cve.day/CVE-2023-35840.json · Rebuilt by cve.day 2026-11-25T22:58:24.924Z
