critical · CVSS v3 9.1
CVE-2026-54670
WeGIA prior to version 3.8.5 contains an improper access control and path traversal vulnerability in its contribution request dispatcher. An
Overview
WeGIA prior to version 3.8.5 contains an improper access control and path traversal vulnerability in its contribution request dispatcher. An unauthenticated remote attacker can invoke sensitive backend methods and execute arbitrary file inclusions to read local system files and credentials. This matters because it directly exposes sensitive financial records and compromises the integrity of the charitable institution's management application.
Description
WeGIA is a web manager for charitable institutions. Prior to 3.8.5, the contribution request dispatcher in web/html/contribuicao/controller/control.php accepts attacker-controlled nomeClasse and metodo values without a complete controller and method allowlist, exempts sensitive ContribuicaoLogController operations from authentication, and constructs a controller include path without canonical directory containment. An unauthenticated remote attacker can invoke getContribuicoesLogJSON, sincronizarStatus, registrarFaturas, and other sensitive methods to disclose contribution and donation records or trigger financial workflow operations. A traversal-shaped nomeClasse value can also cause require_once to include an accessible PHP or configuration file outside the intended controller directory, exposing source code, credentials, or other sensitive local data. This issue is fixed in version 3.8.5.
Impact
The vulnerability affects the confidentiality and integrity of the system by allowing unauthenticated attackers to access sensitive contribution logs, donation records, and financial workflows. Additionally, path traversal capabilities enable unauthorized disclosure of local configuration files and source code. System administrators and charitable institutions utilizing unpatched instances are at risk of data exfiltration and potential system compromise.
Remediation
['Upgrade WeGIA to version 3.8.5 or later immediately.', 'Implement strict allowlists for controller names and methods within the dispatcher script.', 'Ensure proper authentication checks are enforced for all sensitive administrative and logging controllers.', 'Apply canonical path validation to prevent directory traversal in dynamic include statements.']
Risk context
The vulnerability is rated as critical with a CVSS v3 score of 9.1 due to its unauthenticated remote exploitation potential, leading to sensitive data exposure and potential remote file inclusion. Immediate patching or mitigation is recommended to prevent abuse.
Affected products
- WeGIA < 3.8.5
Scores
- Severity
- critical
- CVSS v2
- 9.4
- CVSS v3
- 9.1
- CVSS v4
- —
- EPSS
- —