# CVE-2026-40285

## Summary

- **CVE ID:** CVE-2026-40285
- **Severity:** HIGH
- **CVSS Score:** 8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
- **CWE:** CWE-89, CWE-302, CWE-473
- **Published:** Apr 17, 2026
- **Last Modified:** Apr 20, 2026

## 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.

## Affected Products

- LabRedesCefetRJ — WeGIA (< 3.6.10)

## References

- [CNA](https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-666r-v2m7-xgp9)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.27%
- **EPSS Percentile:** 18.4

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-10._