CVE-2025-58159 CRITICAL

CVE-2025-58159: WeGIA Authenticated Arbitrary File Upload Leading To Remote Code Execution (RCE)

Vendor Labredescefetrj
Product WeGIA
Weakness CWE-434 · Unrestricted file upload
Published August 29, 2025
Last update September 2, 2025

CVSS base score

10.0/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

What the vulnerability does

01Description

WeGIA is a Web manager for charitable institutions. Prior to version 3.4.11, a remote code execution vulnerability was identified, caused by improper validation of uploaded files. The application allows an attacker to upload files with arbitrary filenames, including those with a .php extension. Because the uploaded file is written directly to disk without adequate sanitization or extension restrictions, a spreadsheet file followed by PHP code can be uploaded and executed on the server, leading to arbitrary code execution. This is due to insufficient mitigation of CVE-2025-22133. This issue has been patched in version 3.4.11.

Key dates

02Disclosure timeline

August 29, 2025 CVE published
September 2, 2025 Record updated