Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. unisharp/laravel-filemanager
  4. ›
  5. CVE-2022-40734

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

September 14, 2022 (updated November 24, 2023)

UniSharp laravel-filemanager (aka Laravel Filemanager) through 2.5.1 allows download?working_dir=%2F.. directory traversal to read arbitrary files, as exploited in the wild in June 2022.

References

  • github.com/UniSharp/laravel-filemanager/issues/1150
  • nvd.nist.gov/vuln/detail/CVE-2022-40734

Code Behaviors & Features

Detect and mitigate CVE-2022-40734 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 up to 2.5.1

Fixed versions

  • 2.6.0

Solution

Upgrade to version 2.6.0 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

packagist/unisharp/laravel-filemanager/CVE-2022-40734.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.