CVE-2026-40285

HIGH CVSS 3.1: 8.8 EPSS 0.32%
Updated Oct 27, 2026
PHP
Parameter Value
CVSS 8.8 (HIGH)
Affected Versions before 3.6.10
Type CWE-473, CWE-89 (SQL Injection), CWE-302
Vendor PHP
Public PoC No

WeGIA is a web manager for charitable institutions. Versions prior to 3.6.10 contain a SQL injection vulnerability in dao/memorando/UsuarioDAO.php. The cpf_usuario POST parameter overwrites the session-stored user identity via extract($_REQUEST) in DespachoControle::verificarDespacho(), and the attacker-controlled value is then interpolated directly into a raw SQL query, allowing any authenticated user to query the database under an arbitrary identity.

Version 3.6.10 fixes the issue.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1