CVE-2026-33134
CRITICALWeGIA has Authenticated Time-Based Blind SQL Injection in `restaurar_produto.php` via `id_produto` parameter
Title source: cnaDescription
WeGIA is a web manager for charitable institutions. Versions 3.6.5 and below contain an authenticated SQL Injection vulnerability in the html/matPat/restaurar_produto.php endpoint. The vulnerability allows an authenticated attacker to inject arbitrary SQL commands via the id_produto GET parameter, leading to full database compromise. In the script /html/matPat/restaurar_produto.php, the application retrieves the id_produto parameter directly from the $_GET global array and interpolates it directly into two SQL query strings without any sanitization, type-casting (e.g., (int)), or using parameterized (prepare/execute) statements. This issue has been fixed in version 3.6.6.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-qg95-x997-66wq
X_Refsource_Misc x_refsource_misc
https://github.com/LabRedesCefetRJ/WeGIA/pull/1457
X_Refsource_Misc x_refsource_misc
https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.6.6
Scores
CVSS v3
9.3
EPSS
0.0004
EPSS Percentile
11.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-89
Status
published
Products (2)
LabRedesCefetRJ/WeGIA
< 3.6.6
wegia/wegia
< 3.6.6
Published
Mar 20, 2026
Tracked Since
Mar 20, 2026