CVE-2026-40285CWE-302CWE-473CWE-89
WeGIA has SQL Injection via Session Variable Override in DespachoControle.php
High · published April 17, 2026
What it is
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.
The record
Technical detail
- CVSS v3.1
- 8.8 · HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v4.0
- Not supplied
- EPSS
- 0.00266 · 18.3th percentile
- Weaknesses
- CWE-302 · Authentication Bypass by Assumed-Immutable Data; CWE-473 · PHP External Variable Modification; CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- Published
- 2026-04-17T20:25Z
EPSS history
Timeline