CVE-2025-58159
published critical CVSS 3.1 · 10.0WeGIA Authenticated Arbitrary File Upload Leading To Remote Code Execution (RCE)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| LabRedesCefetRJ | — | WeGIA< 3.4.11 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| LabRedesCefetRJ | WeGIA | < 3.4.11 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-434 CWE-434: Unrestricted Upload of File with Dangerous Type
- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
1Provider assertions
2GitHub_M · cna
WeGIA Authenticated Arbitrary File Upload Leading To Remote Code Execution (RCE)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 49d7f428033b9da3f2b6883a36c7d1fe3878b59e227b5fe66ed2eff13a643262
- Ingested
- 23 Sep 2026, 08:53:54 UTC
- Source record
- Official CVE record