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

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.91%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-29T22:15:12.472Z
- Modified: 2026-10-18T21:10:00.120Z
- Weaknesses: CWE-94, CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- LabRedesCefetRJ WeGIA: < 3.4.11
- wegia wegia: before 3.4.11

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-wj2c-237g-cgqp> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2025-58159](https://www.cve.org/CVERecord?id=CVE-2025-58159), CVE Terms of Use, modified 2025-09-02
- NVD: [CVE-2025-58159](https://nvd.nist.gov/vuln/detail/CVE-2025-58159), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-58159 · Whole record: https://cve.day/CVE-2025-58159.json · Rebuilt by cve.day 2026-11-25T22:59:03.912Z
