CVE-2026-69188: WeGIA PHP File Inclusion
Published 2026-11-17 · Updated 2026-11-18 · Source security-advisories@github.com
Not known to be exploited · high severity — update WeGIA to 3.9.1 or later in your next patch cycle.
What to do
- Update WeGIA to version 3.9.1 or later. Versions before 3.9.1 are affected.
- Until it is patched, restrict network access to WeGIA and review which accounts can log in to it.
- Disable allow_url_include, and block requests that pass file paths or URLs in the affected parameter.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| WeGIA | < 3.9.1 | 3.9.1 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker needs administrative privileges, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality, integrity and availability is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | High | The attacker needs administrative privileges. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | High | Total loss of integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness: PHP File Inclusion
Description
WeGIA is a web manager for charitable institutions. Prior to 3.9.1, a user with backup-management permission can upload a crafted gzip-compressed tar archive through web/html/configuracao/importar_dump.php, after which web/controle/control.php accepts a user-controlled modulo value and combines it with nomeClasse for require_once(). By using a phar:// path to the uploaded archive and selecting the whitelisted InternoControle, whose empty resource list is treated as authorized, the user can cause an embedded controller file and its requested method to execute as the web-server process. The attack path depends on the configured BKP_DIR, and enabling phar.readonly or phar.require_hash does not prevent PHP from reading the gzip tar archive through phar://. Successful exploitation permits access to or modification of sensitive data, configuration, credentials, source files, host commands, and services reachable by the web-server account. This issue is fixed in version 3.9.1.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/LabRedesCefetRJ/WeGIA/commit/620ed2997ead2c7da6829e5b70dd0b81e2a2f98e
- Patchhttps://github.com/LabRedesCefetRJ/WeGIA/pull/1892
- Patchhttps://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.9.0
- Advisoryhttps://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-vxf4-mrgm-vp43
- Advisoryhttps://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-vxf4-mrgm-vp43