Skip to main content

Wegia EUVDEUVD-2026-13678

| CVE-2026-33134 CRITICAL
SQL Injection (CWE-89)
2026-03-20 GitHub_M
9.3
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to WeGIA application
  2. Delivery
    Access restaurar_produto.php endpoint
  3. Exploit
    Inject SQL via id_produto parameter
  4. Execution
    Execute arbitrary database queries
  5. Impact
    Extract sensitive data from 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

Authenticated attacker with login credentials to WeGIA versions 3.6.5 and below. Attacker accesses the html/matPat/restaurar_produto.php endpoint and injects SQL via the id_produto GET parameter. No victim interaction required.

Impact

The CVSS v3.1 score of 9.3 (Critical) reflects network-based attack vector with low complexity, but notably the vector shows PR:N (No Privileges Required) which contradicts the description stating 'authenticated' access is needed, suggesting potential scoring inconsistency. The authentic requirement for authentication significantly reduces real-world risk compared to the CVSS score suggests. The vulnerability requires valid user credentials, limiting the attacker pool to insiders or compromised accounts. With Scope:Changed and High Confidentiality impact, successful exploitation could access data across database boundaries. No EPSS score is provided and absence from CISA KEV indicates no observed active exploitation. The availability of public proof-of-concept via GitHub advisory (GHSA-qg95-x997-66wq) and merged patch pull request (#1457) increases exploitation likelihood if organizations delay patching. Priority should be moderate-to-high for organizations running WeGIA with multiple authenticated users, but lower than unauthenticated RCE vulnerabilities.

Exploit ScenarioDerived

An authenticated attacker with valid credentials to the WeGIA system navigates to the product restoration functionality and crafts a malicious URL targeting html/matPat/restaurar_produto.php with a SQL injection payload in the id_produto parameter (e.g., id_produto=1' UNION SELECT username,password,email FROM users--). The unsanitized input executes arbitrary SQL commands, allowing the attacker to extract the complete user database, modify inventory records, or escalate privileges to administrative accounts. With public proof-of-concept available via the GitHub advisory, exploitation complexity is low for attackers with basic SQL injection knowledge and legitimate system access.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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, a web manager for charitable institutions, contains an authenticated SQL injection vulnerability in versions 3.6.5 and below via the id_producto parameter in the restaurar_produto.php endpoint. An authenticated attacker can execute arbitrary SQL commands to fully compromise the database, extracting sensitive donor information, beneficiary records, and administrative credentials. No evidence of active exploitation (not in CISA KEV) is currently available, though proof-of-concept details are publicly disclosed in the GitHub security advisory.

RemediationAI

Upgrade WeGIA to version 3.6.6 or later, which includes the security fix as documented in the release notes at https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.6.6. The patch implementation can be reviewed in pull request #1457 at https://github.com/LabRedesCefetRJ/WeGIA/pull/1457 for organizations requiring code-level verification before deployment. Until patching is completed, implement compensating controls including restricting access to the restaurar_produto.php endpoint through web application firewall rules, enforcing strict input validation at the reverse proxy layer, limiting database user permissions to minimum required privileges, and monitoring database logs for suspicious SQL patterns or error messages indicating injection attempts. Organizations should also audit user accounts with access to the materials management module and implement principle of least privilege.

Affected VersionsENISA

WeGIA < 3.6.6

Affected Packages

euvd wegia fix: 3.6.6

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 PHP-based web application developed by LabRedesCefetRJ for managing charitable institution operations. The vulnerability stems from CWE-89 (SQL Injection) where user-supplied input from the $_GET['id_produto'] parameter is directly concatenated into SQL query strings without sanitization, type casting, or parameterized prepared statements. The affected component is html/matPat/restaurar_produto.php, specifically in product restoration functionality within the materials/patients management module. The CPE identifier cpe:2.3:a:labredescefetrj:wegia:*:*:*:*:*:*:*:* confirms this affects the core WeGIA application across all deployment configurations.

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 9.3 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N

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

CVSS VectorGitHub Advisory

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

Lifecycle Timeline

3
Analysis Updated
Apr 16, 2026 - 05:49 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
3.6.6
CVE Published
Mar 20, 2026 - 10:35 nvd
CRITICAL 9.3

DescriptionGitHub Advisory

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.

Executive ViewAI

Why It Matters

WeGIA versions 3.6.5 and below contain a critical SQL injection vulnerability affecting charitable institutions' database security. Authenticated users can execute arbitrary SQL commands to extract sensitive donor information, beneficiary records, and administrative credentials, creating immediate risk of data breach and operational compromise for organizations relying on this platform.

Business Impact: Severe
Compensating Controls

Apply vendor patch. Interim mitigations if patch deployment is delayed: implement strict input validation and parameterized queries on the restaurar_produto.php id_producto parameter, restrict database user permissions to minimum required privileges, monitor and log all database queries from the WeGIA application, and limit authenticated user access to administrative accounts only.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
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