SQL Injection Flaws in WeGIA Enable Database Compromise and Admin Account Abuse
Vulnerability Disclosure · 3 sources · Updated 5mo ago · First seen Mar 20, 2026

WeGIA, a web management platform for charitable institutions, was found to contain two SQL-related vulnerabilities that could let attackers manipulate or fully compromise backend databases. CVE-2026-33134 affects version 3.6.5 and earlier in /html/matPat/restaurar_produto.php, where the id_produto parameter is incorporated into SQL queries without proper sanitization, enabling authenticated time-based blind SQL injection and arbitrary SQL command execution. The flaw carries a CVSS v3.1 vector of AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N and was fixed in version 3.6.6.
A second flaw, CVE-2026-33133, affects versions 3.6.5 and 3.6.6 in the loadBackupDB() function, which imports SQL files from uploaded backup archives without validating their contents. A privileged attacker can submit a crafted backup archive containing malicious SQL to create rogue administrator accounts, reset passwords, or perform other unauthorized database operations. The issue is tracked as CWE-89, was introduced in commit 370104c, and was patched in WeGIA version 3.6.7.


