CVE-2026-69188
WeGIA: RCE via Backup Upload and `phar://` Controller Inclusion
- CVSS
- 7.2
- EPSS
- 0.58% (p49)
- Published
- 2026-11-17
- Age
- 19d old
- Modified
- 2026-11-18
- Product
- LabRedesCefetRJ WeGIA
- Aliases
- GHSA-vxf4-mrgm-vp43
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
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.
Sources
- NVD · first seen 19d ago · NVD terms of use
- OSV · first seen 19d ago · CC-BY 4.0
- CVE List · first seen 19d ago · CVE Terms of Use
References
- https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-vxf4-mrgm-vp43 x_refsource_CONFIRM
- https://github.com/LabRedesCefetRJ/WeGIA/pull/1892 x_refsource_MISC
- https://github.com/LabRedesCefetRJ/WeGIA/commit/620ed2997ead2c7da6829e5b70dd0b81e2a2f98e x_refsource_MISC
- https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.9.0 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/69xxx/CVE-2026-69188.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-69188 advisory