CVE-2025-56399

alexusmai laravel-file-manager 3.3.1 and before allows an authenticated attacker to achieve Remote Code Execution (RCE) through a crafted file upload

High · published October 28, 2025

CVSS v3.1
8.8
EPSS
1%
Percentile
47.9
In the wild
Unconfirmed
What it is

🚨 An authenticated attacker can pull off a sneaky Remote Code Execution (RCE) trick just by uploading a crafty PNG file! 🔥 Think of it like a restaurant employee who sneaks a secret ingredient into a dish — it looks harmless at first, but once it’s served, it can wreak havoc on the entire kitchen! If an attacker successfully uploads a malicious file and changes its extension to .php, they could execute any code on the server. This means they could access sensitive data, alter files, or even take full control of the server! Absolutely devastating!

Put simply

Think of it like a restaurant employee who sneaks a secret ingredient into a dish — it looks harmless at first, but once it’s served, it can wreak havoc on the entire kitchen! This vulnerability in alexusmai laravel-file-manager versions 3.3.1 and earlier allows an attacker to upload a .png file containing PHP code, bypassing client-side validation. By utilizing the rename API, they can change the file's extension to .php and execute the embedded code through a web request.

What to do

If an attacker successfully uploads a malicious file and changes its extension to .php, they could execute any code on the server. This means they could access sensitive data, alter files, or even take full control of the server! Absolutely devastating! To mitigate this, update to version 4.0.0 or later of the laravel-file-manager. Additionally, implement server-side validation for file uploads, ensuring that only safe file types are accepted and executed. You've got this! Follow these steps and you'll fortify your defenses in no time! 🛡️

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00596 · 47.9th percentile
Published
2025-10-28T00:00Z
EPSS history
Timeline
  • 28 OCT 00:00Z
    alexusmai laravel-file-manager 3.3.1 and before allows an authenticated attacker to achieve Remote Code Execution (RCE) through a crafted file upload
    cvelistv5