CVE-2026-33134: Authenticated SQL Injection in WeGIA restaurar_produto.php
- Vendor
- Wegia
CVE-2026-33134 is an SQL injection vulnerability in WeGIA, a web manager for charitable institutions, affecting version 3.6.5 and earlier. The flaw is present in the /html/matPat/restaurar_produto.php endpoint, where the application reads the id_produto parameter directly from the $_GET array and interpolates it into two SQL query strings without sanitization, integer casting, or use of parameterized queries. Because attacker-controlled input is incorporated directly into SQL statements, an authenticated attacker can inject arbitrary SQL commands against the backend database. The advisory states that successful exploitation can result in full database compromise. The issue was fixed in WeGIA 3.6.6.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows arbitrary SQL execution in the context of the application's database operations. This can expose sensitive data stored in the database, enable unauthorized modification of records, and potentially allow deletion or corruption of application data. Based on the advisory, the practical impact is full database compromise.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict access to the affected application and endpoint to only trusted authenticated users, monitor for suspicious requests targeting /html/matPat/restaurar_produto.php, and deploy compensating controls such as WAF rules to detect or block SQL injection payloads in the id_produto parameter. Reduce database account privileges used by the application to the minimum necessary to limit blast radius. These are temporary measures and do not replace upgrading to the fixed version.
Remediation
Patch, then assume compromise.
Upgrade WeGIA to version 3.6.6 or later, which contains the fix for this issue. In the vulnerable code path, remediation requires eliminating direct interpolation of id_produto into SQL statements and replacing it with parameterized queries using prepared statements. The input should also be constrained to the expected type, such as explicit integer casting and server-side validation before use in database operations.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-33134 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2026-33134 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-33134?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2026-33134.
- Is there a patch for CVE-2026-33134?
- Upgrade WeGIA to version 3.6.6 or later, which contains the fix for this issue. In the vulnerable code path, remediation requires eliminating direct interpolation of id_produto into SQL statements and replacing it with parameterized queries using prepared statements.
- What products are affected by CVE-2026-33134?
- Wegia.
- How severe is CVE-2026-33134?
- CVE-2026-33134 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 0.35% (29th percentile) as of Oct 16, 2026.
Recent activity
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.