CVE-2022-40734
PHP vulnerability analysis and mitigation

Overview

UniSharp laravel-filemanager (also known as Laravel Filemanager) versions before 2.6.4 contain a directory traversal vulnerability identified as CVE-2022-40734. The vulnerability was discovered in June 2022 and allows attackers to read arbitrary files through a path traversal attack using the download?working_dir=%2F.. parameter. This vulnerability is related to implementations using league/flysystem versions prior to 2.0.0 (NVD, CVE).

Technical details

The vulnerability is a directory traversal issue that allows attackers to read arbitrary files by manipulating the working_dir parameter in download requests. The attack vector is through the network with low attack complexity and requires low privileges with no user interaction. According to the CVSS v3.1 scoring, this vulnerability has a base score of 6.5 (Medium), with an impact score of 3.6 and exploitability score of 2.8. The CVSS vector string is CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N (AttackerKB).

Impact

The primary impact of this vulnerability is on system confidentiality, with the potential for unauthorized access to arbitrary files on the affected system. The CVSS metrics indicate high confidentiality impact, while integrity and availability remain unaffected (AttackerKB).

Mitigation and workarounds

The primary mitigation is to upgrade Laravel Filemanager to version 2.6.4 or later. Additionally, systems using league/flysystem should be updated to version 2.0.0 or higher (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65854CRITICAL9.8
  • PHPPHP
  • mineadmin/mineadmin
NoNoDec 12, 2025
CVE-2024-58303HIGH8.6
  • PHPPHP
  • fof/pretty-mail
NoNoDec 11, 2025
CVE-2025-67719HIGH8.5
  • PHPPHP
  • ibexa/user
NoYesDec 11, 2025
CVE-2025-67648HIGH7.1
  • PHPPHP
  • shopware/shopware
NoYesDec 11, 2025
CVE-2025-67737LOW3.1
  • PHPPHP
  • azuracast/azuracast
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management