# CVE-2025-50201: WeGIA OS Command Injection in debug_info.php parameter 'branch'

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/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): 14.2%, higher than 96% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-19T03:34:29.859Z
- Modified: 2026-06-17T09:34:58.110Z
- Weaknesses: CWE-78
- 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.2, an OS Command Injection vulnerability was identified in the /html/configuracao/debug_info.php endpoint. The branch parameter is not properly sanitized before being concatenated and executed in a shell command on the server's operating system. This flaw allows an unauthenticated attacker to execute arbitrary commands on the server with the privileges of the web server user (www-data). This issue has been patched in version 3.4.2.

(As written by CVE List.)

## Affected

- LabRedesCefetRJ WeGIA: < 3.4.2
- wegia wegia: before 3.4.2

## References

- <https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-52p5-5fmw-9hrf> (exploit, vendor-advisory)
- <https://github.com/LabRedesCefetRJ/WeGIA/commit/45f32ad1d52775fc99f3c90075c8136c6d4d1d3d> (patch)

## Sources

- CVE List: [CVE-2025-50201](https://www.cve.org/CVERecord?id=CVE-2025-50201), CVE Terms of Use, modified 2025-06-23
- NVD: [CVE-2025-50201](https://nvd.nist.gov/vuln/detail/CVE-2025-50201), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-50201 · Whole record: https://cve.day/CVE-2025-50201.json · Rebuilt by cve.day 2026-11-25T22:58:59.394Z
