Skip to content
Fencer Intel
medium 6.5

CVE-2023-35840 json

elFinder vulnerable to path traversal in LocalVolumeDriver connector

published 3y ago modified 4mo ago also GHSA-wm5g-p99q-66g4 , EUVD-2023-1903

cvss
6.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.9%
EPSS 1.9% chance of exploitation in 30 days, percentile 80%
public exploits
0
none known

Summary

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

Patch / fix

  • packagist studio-42/elfinder 2.1.62
  • std42 elfinder 2.1.62

Is CVE-2023-35840 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

1.94% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-15).

Exploits and checks

  • github.com https://github.com/Studio-42/elFinder/security/advisories/GHSA-wm5g-p99q-66g4 referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/sectroyer/CVEs/tree/main/CVE-2023-35840 referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/afine-com/CVE-2023-35840 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CNA 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
packagist studio-42/elfinder
<2.1.62
2.1.62

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.