Home

Description

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.

PUBLISHED Reserved 2026-04-10 | Published 2026-04-17 | Updated 2026-04-20 | Assigner GitHub_M




HIGH: 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

CWE-302: Authentication Bypass by Assumed-Immutable Data

CWE-473: PHP External Variable Modification

Product status

< 3.6.10
affected

References

github.com/.../WeGIA/security/advisories/GHSA-666r-v2m7-xgp9 exploit

github.com/.../WeGIA/security/advisories/GHSA-666r-v2m7-xgp9

cve.org (CVE-2026-40285)

nvd.nist.gov (CVE-2026-40285)

Download JSON