{"id":"CVE-2026-40285","aliases":["CVE-2026-40285"],"related":[],"kind":"vulnerability","state":"published","title":"WeGIA has SQL Injection via Session Variable Override in DespachoControle.php","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"WeGIA es un gestor web para instituciones benéficas. Las versiones anteriores a la 3.6.10 contienen una vulnerabilidad de inyección SQL en dao/memorando/UsuarioDAO.php. El parámetro POST cpf_usuario sobrescribe la identidad de usuario almacenada en la sesión a través de extract($_REQUEST) en DespachoControle::verificarDespacho(), y el valor controlado por el atacante se interpola directamente en una consulta SQL sin procesar, permitiendo a cualquier usuario autenticado consultar la base de datos bajo una identidad arbitraria. La versión 3.6.10 corrige el problema.","source":"nvd"}],"published":"2026-04-17T20:25:33.185Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-89","CWE-302","CWE-473"],"affected":[{"ranges":[{"version":"< 3.6.10","status":"affected"}],"vendor":"LabRedesCefetRJ","product":"WeGIA","source":"cvelist"}],"references":[{"url":"https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-666r-v2m7-xgp9","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-04-20T16:21:02.935Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40285","url":"https://www.cve.org/CVERecord?id=CVE-2026-40285","licence":"CVE Terms of Use","modified":"2026-04-20T16:21:07.084Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40285","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40285","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:18.967Z","epss":{"score":0.00324,"percentile":0.27506,"date":"2026-12-01T12:00:22.000Z"}}