Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. studio-42/elfinder
  4. ›
  5. CVE-2022-26960

CVE-2022-26960: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

March 21, 2022 (updated June 30, 2022)

connector.minimal.php in std42 elFinder through 2.1.60 is affected by path traversal. This allows unauthenticated remote attackers to read, write, and browse files outside the configured document root. This is due to improper handling of absolute file paths.

References

  • github.com/Studio-42/elFinder/commit/3b758495538a448ac8830ee3559e7fb2c260c6db
  • nvd.nist.gov/vuln/detail/CVE-2022-26960
  • www.synacktiv.com/publications.html

Code Behaviors & Features

Detect and mitigate CVE-2022-26960 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.61

Fixed versions

  • 2.1.61

Solution

Upgrade to version 2.1.61 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

packagist/studio-42/elfinder/CVE-2022-26960.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:10 +0000.