Arbitrary file upload in WeGIA - CVE-2025-58159

 

Arbitrary file upload in WeGIA - CVE-2025-58159

Published: April 30, 2026


Vulnerability identifier: #VU128667
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-58159
CWE-ID: CWE-434
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: LabReDeS
Affected software:
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.


How to mitigate CVE-2025-58159

Install security update from vendor's website.

Sources