Arbitrary file upload in WeGIA - CVE-2025-58159
Published: April 30, 2026
WeGIA
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to unrestricted upload of file with dangerous type in /html/socio/sistema/controller/controla_xlsx.php when handling file uploads. A remote user can upload a crafted spreadsheet file with a .php extension and then access the uploaded file directly to execute arbitrary code.
The uploaded filename may include a random prefix in the server response.