CVE-2023-53922CWE-434

TinyWebGallery v2.5 Remote Code Execution via Unrestricted File Upload

Critical · published December 17, 2025

CVSS v4.0
9.3
EPSS
1%
Percentile
65.5
In the wild
Unconfirmed
What it is

🚨 Unauthenticated attackers can upload malicious PHP files through a single vulnerability in TinyWebGallery v2.5 — that’s like giving someone an all-access pass to the server! 🔥 Picture a restaurant where anyone can walk into the kitchen and replace the chef's carefully crafted recipes with their own bizarre concoctions — that’s what this vulnerability allows! If exploited, an attacker could run any code they want on the server, leading to total chaos. This can mean stealing sensitive data, installing malware, or even wiping everything clean. The potential damage is absolutely devastating!

Put simply

Picture a restaurant where anyone can walk into the kitchen and replace the chef's carefully crafted recipes with their own bizarre concoctions — that’s what this vulnerability allows! This vulnerability allows unauthenticated users to upload .phar files containing malicious PHP code via the admin upload feature, enabling remote code execution on the server when those files are accessed.

What to do

If exploited, an attacker could run any code they want on the server, leading to total chaos. This can mean stealing sensitive data, installing malware, or even wiping everything clean. The potential damage is absolutely devastating! To mitigate this risk, immediately update TinyWebGallery to version 2.6 or higher. Additionally, restrict file uploads to trusted types and implement server-side checks to validate uploads. Don't leave your server’s kitchen wide open! You've got this! Follow these steps, and you'll secure your server in no time. 🛡️

The record
Technical detail
CVSS v4.0
9.3 · CRITICAL
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.01106 · 65.5th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2025-12-17T22:44Z
EPSS history
Timeline
  • 17 DEC 22:44Z
    TinyWebGallery v2.5 Remote Code Execution via Unrestricted File Upload
    cvelistv5