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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

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 Sun, 08 Nov 2026 00:16:12 +0000.