{"id":"CVE-2026-40285","published":"2026-04-17T20:25:33Z","modified":"2026-04-20T16:21:07Z","title":"WeGIA has SQL Injection via Session Variable Override in DespachoControle.php","vendor":"LabRedesCefetRJ","product":"WeGIA","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00324,"percentile":0.26153,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"},{"id":"CWE-302","name":"Authentication Bypass by Assumed-Immutable Data"},{"id":"CWE-473","name":"PHP External Variable Modification"}],"references":[{"url":"https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-666r-v2m7-xgp9","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.4,"factors":[{"name":"EPSS percentile","points":5.23},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"labredescefetrj","affectedVersions":[{"vendor":"LabRedesCefetRJ","product":"WeGIA","versions":["< 3.6.10"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-20T16:21:02.935115Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-23529","exploited":false,"provenance":"source"}}