SB2026070749 - Multiple vulnerabilities in WeGIA
Published: July 7, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 vulnerabilities.
1) PHP file inclusion (CVE-ID: N/A)
CWE-ID: CWE-98 - Improper Control of Filename for Include/Require Statement in PHP Program
CVSSv4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to improper control of filename for include/require statement in PHP program in the controller dispatcher and backup import functionality when handling a crafted backup archive and a user-controlled module path. A remote privileged user can upload a crafted gzip-compressed tar archive and invoke the dispatcher with a phar:// module path to execute arbitrary code.
The issue relies on the backup-management permission and on the ability to reference the uploaded archive through PHP's phar:// stream wrapper.
2) Incorrect authorization (CVE-ID: N/A)
CWE-ID: CWE-863 - Incorrect Authorization
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to escalate privileges.
The vulnerability exists due to improper access control in web/controle/control.php and FuncionarioControle permission-management methods when dispatching controller methods. A remote user can send a crafted request to modify permissions assigned to arbitrary roles and escalate privileges.
Exploitation requires authentication, a valid CSRF token from the attacker's own session, and an existing permission entry for resource 11 or 91.
Remediation
Install update from vendor's website.