CVE-2023-35840: _joinPath in elFinderVolumeLocalFileSystem.class.php in elFinder before 2.1.62 allows path traversal in the PH
CVE-2023-35840 is a medium-severity flaw (CVSS 6.5) affecting elfinder. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
_joinPath in elFinderVolumeLocalFileSystem.class.php in elFinder before 2.1.62 allows path traversal in the PHP LocalVolumeDriver connector.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 1.9% (top 20%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2023-06-19 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-35840?
elfinder: upgrade to 2.1.62. Exact commands for each OS are on this page.
Is CVE-2023-35840 being exploited?
CVE-2023-35840 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-35840 affect?
CVE-2023-35840 affects elfinder. Severity is medium (CVSS 6.5). _joinPath in elFinderVolumeLocalFileSystem.class.php in elFinder before 2.1.62 allows path traversal in the PHP LocalVolumeDriver connector.
How urgent is CVE-2023-35840?
Priority 48/100. Public exploit reference
Software pages
Related CVEs
- CVE-2026-41247 CRITICAL 9.8 UPGRADE elFinder is an open-source file manager for web, written in JavaScript using jQuery UI
- CVE-2024-38909 CRITICAL 9.8 DOWNGRADE Studio 42 elFinder 2.1.64 is vulnerable to Incorrect Access Control
- CVE-2023-52045 MEDIUM 6.1 DOWNGRADE Studio-42 eLfinder 2.1.62 contains a filename restriction bypass leading to a persistent Cross-site Scripting
- CVE-2023-52044 CRITICAL 9.8 DOWNGRADE Studio-42 eLfinder 2.1.62 is vulnerable to Remote Code Execution (RCE) as there is no restriction for uploadin
- CVE-2022-27115 CRITICAL 9.8 DOWNGRADE In Studio-42 elFinder 2.1.60, there is a vulnerability that causes remote code execution through file name byp