
Technical write-up and proof-of-concept for CVE-2025-65346, an authenticated path traversal in laravel-file-manager v3.3.1 leading to arbitrary file write and potential RCE.
A Path Traversal vulnerability in the unzip/extract functionality of the affected application allows an attacker to write files to arbitrary filesystem locations during archive extraction. Because the extraction routine fails to sanitize destination paths inside ZIP entries, an attacker can craft ZIP archives containing traversal sequences (e.g., ../../routes) or absolute paths. When processed by the application, these files are extracted directly to the specified locations with the permissions of the running process.
This flaw can be abused to overwrite existing files, plant executable payloads, or modify application behavior, potentially leading to remote code execution.
laravel-file-manager💥 Impact
Base Score: 9.1
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
🛡️ Recommended Remediation
🙏 Credits
Discovered and reported by: Theethat Thamwasin