8.8High

CVE-2026-40285WeGIA has SQL Injection via Session Variable Override in DespachoControle.php

LabRedesCefetRJ WeGIA Published: (7 months ago)

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.

Weakness (CWE): CWE-89CWE-302CWE-473

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
LabRedesCefetRJ WeGIA < 3.6.10

References and patches