CVE Catalog

CVE-2025-56399

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.51%

40th percentile - higher than 40% of all known CVEs

Summary

In laravel-file-manager version 3.3.1 and earlier, an authenticated attacker can upload a .png file containing PHP code, which despite client-side validation failure is saved on the server. Using the rename API, the attacker changes the extension to .php, enabling remote code execution (RCE).

Risk Assessment

The organization risks complete server compromise, allowing the attacker to execute arbitrary commands, steal data, or install malware.

Recommendation

Immediately update laravel-file-manager to the latest version and implement server-side file validation to block uploads with dangerous extensions.

Related vulnerabilities

Original NVD description (English source)

alexusmai laravel-file-manager 3.3.1 and before allows an authenticated attacker to achieve Remote Code Execution (RCE) through a crafted file upload. A file with a '.png` extension containing PHP code can be uploaded via the file manager interface. Although the upload appears to fail client-side validation, the file is still saved on the server. The attacker can then use the rename API to change the file extension to `.php`, and upon accessing it via a public URL, the server executes the embedded code.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS