CVE-2026-40285
published high CVSS 3.1 · 8.8WeGIA has SQL Injection via Session Variable Override in DespachoControle.php
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| LabRedesCefetRJ | — | WeGIA< 3.6.10 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| LabRedesCefetRJ | WeGIA | < 3.6.10 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- CWE-302 CWE-302: Authentication Bypass by Assumed-Immutable Data
- CWE-473 CWE-473: PHP External Variable Modification
References
1Provider assertions
2GitHub_M · cna
WeGIA has SQL Injection via Session Variable Override in DespachoControle.php
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1c738833022cca56241f6029f0a08c9fdb56af3b822e4ad07b43b9a161778ab8
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record