Skip to main content
Mallory
← Back to News
internet-facing-service-vulnerabilityprivilege-escalation-methodwidely-deployed-product-advisory

SQL Injection Flaws in WeGIA Enable Database Compromise and Admin Account Abuse

Vulnerability Disclosure · 3 sources · Updated 5mo ago · First seen Mar 20, 2026

SQL Injection Flaws in WeGIA Enable Database Compromise and Admin Account Abuse

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.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Mar 20, 2026 – Apr 6, 2026
  1. Apr 6, 20268mo ago

    WeGIA fixes SQL injection in DespachoDAO.php in version 3.6.9

    WeGIA addressed CVE-2026-35395 in version 3.6.9, fixing a SQL injection flaw in dao/memorando/DespachoDAO.php where the id_memorando parameter from $_REQUEST was used in SQL queries without validation. The issue affected versions prior to 3.6.9 and allowed authenticated users to execute arbitrary SQL commands against the backend database.

    CVE-2026-35395 - WeGIA has a SQL Injection in DespachoDAO.php via id_memorando parameter
  2. Mar 20, 20268mo ago

    GitHub security advisories disclose two WeGIA SQL vulnerabilities

    On March 20, 2026, GitHub security advisories disclosed CVE-2026-33133 and CVE-2026-33134 affecting WeGIA. The advisories described a backup-archive arbitrary SQL execution flaw and an SQL injection issue in restaurar_produto.php, along with affected versions and fixed releases.

  3. Mar 20, 20268mo ago

    WeGIA patches arbitrary SQL execution in backup restore in version 3.6.7

    WeGIA released version 3.6.7 to fix CVE-2026-33133, an arbitrary SQL execution vulnerability in loadBackupDB() caused by importing SQL from uploaded backup archives without validating contents. The flaw affected versions 3.6.5 and 3.6.6 and could let a privileged attacker create rogue administrator accounts, change passwords, or perform other database operations.

  4. Mar 20, 20268mo ago

    WeGIA fixes SQL injection in restaurar_produto.php in version 3.6.6

    WeGIA remediated CVE-2026-33134 in version 3.6.6 by fixing an SQL injection flaw in /html/matPat/restaurar_produto.php where the id_produto parameter was not properly sanitized. The issue affected version 3.6.5 and earlier and could allow arbitrary SQL command execution and database compromise.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.