Skip to main content

Wegia EUVDEUVD-2026-13676

| CVE-2026-33133 HIGH
SQL Injection (CWE-89)
2026-03-20 GitHub_M
7.2
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Create malicious SQL backup archive
  2. Delivery
    Upload archive via backup restore function
  3. Exploit
    loadBackupDB() imports SQL without validation
  4. Execution
    Execute arbitrary SQL commands
  5. Impact
    Create rogue admin accounts or modify database

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires authenticated access as a high-privilege user (administrator or equivalent) on WeGIA versions 3.6.5 and 3.6.6. Attacker must upload a crafted backup archive file containing malicious SQL statements through the backup restore functionality. No victim interaction needed beyond attacker's privileged access.

Impact

While CVSS and EPSS scores are not available, this vulnerability presents high real-world risk based on multiple signal factors. The attack vector is network-based with likely low complexity (simply crafting a backup file with malicious SQL statements), and backup restoration functions often require minimal or no authentication depending on deployment context. The availability of a GitHub security advisory (GHSA-qqff-p8fc-hg5f) and a direct pull request fix (PR #1459) confirms vendor acknowledgment and formal proof-of-concept demonstration. From a SSVC perspective, the technical impact is severe (complete database compromise, privilege escalation via rogue admin account creation), the attack is likely automatable (simple file format manipulation), and a patch is available (version 3.6.7). The main mitigating factor is that this affects a niche product for charitable institutions rather than widespread infrastructure, potentially limiting exposure scope. However, for affected organizations, this is a critical priority due to immediate administrative access risk.

Exploit ScenarioDerived

An attacker gains access to the WeGIA backup restoration interface (potentially unauthenticated depending on configuration) and uploads a crafted backup archive containing SQL statements such as 'INSERT INTO users (username, password, role) VALUES ("rogue_admin", "[hash]", "administrator")' embedded within the backup file structure. When loadBackupDB() processes the archive, it executes these arbitrary SQL statements without validation, creating a backdoor administrator account. The attacker then logs in with the rogue account to modify financial records, create unauthorized transactions, or exfiltrate donor information—all with full database privileges and complete audit trail obscurement.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 20, 2026

WeGIA versions 3.6.5 and 3.6.6 contain an unauthenticated SQL injection vulnerability in the loadBackupDB() function that fails to validate SQL content within uploaded backup archives. An attacker can craft a malicious backup file to execute arbitrary SQL statements, including creation of rogue administrator accounts, password modification, or complete database compromise. The vulnerability was introduced in commit 370104c and patched in version 3.6.7; no active exploitation in the wild has been confirmed, but the simplicity of the attack vector and availability of proof-of-concept references via GitHub advisory suggest moderate real-world risk.

RemediationAI

Immediately upgrade WeGIA to version 3.6.7 or later, which patches the loadBackupDB() validation flaw. The fix is available at https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.6.7 and was implemented via pull request https://github.com/LabRedesCefetRJ/WeGIA/pull/1459. Until patching is completed, restrict backup restoration functionality to administrative users only, disable automated backup imports from untrusted sources, and implement file integrity checks or GPG signature verification of backup archives before restoration. If deployment permits, place the application behind a web application firewall configured to detect and block suspicious SQL patterns in uploaded files.

Affected VersionsENISA

WeGIA 3.6.5, < 3.6.7

Affected Packages

euvd wegia_3_6_5 fix: 3.6.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

WeGIA is a web-based management platform for charitable institutions developed by LabRedesCefetRJ (CPE: cpe:2.3:a:labredescefetrj:wegia). The vulnerability stems from improper input validation in the loadBackupDB() function, which processes SQL backup archives without sanitizing or validating their contents before execution. This is classified as CWE-89 (SQL Injection), a classic injection flaw where untrusted user-supplied data is concatenated into SQL queries without parameterization or escaping. The backup restoration mechanism inherently requires database-level privileges, but the lack of content validation treats uploaded archive contents as implicitly trusted, bypassing the need for traditional SQL injection authentication barriers. The affected versions (3.6.5 and 3.6.6) introduced this flaw in commit 370104c, suggesting a recent regression in input handling logic.

Know when Wegia gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Apr 16, 2026 - 06:19 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
3.6.7
CVE Published
Mar 20, 2026 - 10:31 nvd
HIGH 7.2

DescriptionGitHub Advisory

WeGIA is a web manager for charitable institutions. In versions 3.6.5 and 3.6.6, the loadBackupDB() function imports SQL files from uploaded backup archives without any content validation. An attacker can craft a backup archive containing arbitrary SQL statements that create rogue administrator accounts, modify existing passwords, or execute any database operation. This was introduced in commit 370104c. This issue was patched in version 3.6.7.

Executive ViewAI

Why It Matters

WeGIA versions 3.6.5 and 3.6.6 contain an unauthenticated SQL injection vulnerability in backup restoration functionality that allows attackers to execute arbitrary database commands without credentials, potentially enabling unauthorized administrator account creation and complete data compromise. Organizations using affected versions face immediate risk of unauthorized access and data manipulation through a low-complexity attack vector requiring only file upload capability.

Business Impact: High
Compensating Controls

Apply vendor patch to version 3.6.7 or later. Interim mitigations pending patch deployment: restrict backup upload functionality to authenticated administrative users only via network access controls; disable backup restoration features if not actively required; implement database activity monitoring to detect unauthorized SQL execution patterns; validate and digitally sign all backup archives before processing.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Related Vulnerabilities in WeGIA SQL Injection and XSS Vulnerabilities

View all 4

More in Wegia

View all
CVE-2025-50201 CRITICAL POC
9.8 Jun 19

Critical OS Command Injection vulnerability in WeGIA (a web management system for charitable institutions) versions prio

CVE-2025-27140 CRITICAL POC
10.0 Feb 24

WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely

CVE-2025-26613 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-55169 CRITICAL POC
10.0 Aug 12

WeGIA is an open source web manager with a focus on the Portuguese language and charitable institutions. Rated critical

CVE-2025-30364 CRITICAL POC
10.0 Mar 27

WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely

CVE-2025-46828 CRITICAL POC
10.0 May 07

WeGIA is a web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely

CVE-2025-26612 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26617 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26611 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26609 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26608 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26607 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy