Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-31896: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in LabRedesCefetRJ WeGIA

0
Critical
VulnerabilityCVE-2026-31896cvecve-2026-31896cwe-89
Published: Wed Mar 11 2026 (03/11/2026, 19:10:32 UTC)
Source: CVE Database V5
Vendor/Project: LabRedesCefetRJ
Product: WeGIA

Description

CVE-2026-31896 is a critical SQL injection vulnerability in the WeGIA web management application for charitable institutions, affecting versions prior to 3. 6. 6. The vulnerability arises from the remover_produto_ocultar. php script using extract($_REQUEST) and directly concatenating variables into SQL queries without proper sanitization. This flaw allows an attacker, potentially without authentication, to execute arbitrary SQL commands, leading to data exfiltration or denial of service via time-based delays. The vulnerability has a CVSS score of 9. 8, indicating critical severity, and is fixed in version 3. 6. 6.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/19/2026, 02:16:24 UTC

Technical Analysis

CVE-2026-31896 is a critical SQL injection vulnerability identified in the WeGIA web management system developed by LabRedesCefetRJ, specifically impacting versions prior to 3.6.6. The vulnerability exists in the remover_produto_ocultar.php script, which uses PHP's extract($_REQUEST) function to populate local variables from user-supplied HTTP request parameters. These variables are then directly concatenated into an SQL query executed via PDO::query without any input validation or parameterization. This improper neutralization of special elements in SQL commands (CWE-89) enables an attacker to inject arbitrary SQL code. The vulnerability can be exploited without authentication or user interaction, allowing attackers to perform unauthorized data access, modification, or deletion. The proof-of-concept demonstrates the ability to cause time-based delays, effectively enabling denial of service attacks. The vulnerability is rated with a CVSS v3.1 score of 9.8 (critical), reflecting its high impact on confidentiality, integrity, and availability, combined with ease of exploitation. The issue is resolved in WeGIA version 3.6.6 by presumably implementing proper input sanitization or using prepared statements. No public exploits have been reported yet, but the critical nature and lack of required authentication make this a high-risk vulnerability for affected deployments.

Potential Impact

The impact of CVE-2026-31896 is severe for organizations using vulnerable versions of WeGIA. Exploitation can lead to unauthorized disclosure of sensitive data stored in the backend database, including potentially personal or financial information managed by charitable institutions. Attackers can also modify or delete data, undermining data integrity and trustworthiness. Additionally, the demonstrated ability to cause time-based delays can result in denial of service, disrupting normal operations of the web management system. Given that WeGIA is used by charitable organizations, such disruptions could affect critical services and donor management. The vulnerability’s ease of exploitation without authentication increases the risk of widespread attacks, potentially leading to data breaches, reputational damage, regulatory penalties, and operational downtime.

Mitigation Recommendations

Organizations should immediately upgrade WeGIA to version 3.6.6 or later, where this vulnerability is fixed. Until the upgrade is applied, implement compensating controls such as web application firewalls (WAFs) configured to detect and block SQL injection attempts targeting the vulnerable script. Review and restrict access to the remover_produto_ocultar.php endpoint, limiting it to trusted users or IP addresses where feasible. Conduct thorough input validation and sanitization on all user-supplied data, avoiding the use of PHP extract() on $_REQUEST or any untrusted input. Replace direct query concatenation with parameterized queries or prepared statements using PDO to prevent injection. Monitor logs for suspicious SQL errors or unusual database query patterns indicative of exploitation attempts. Finally, conduct security awareness training for developers to avoid similar coding practices in future development.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-09T21:59:02.688Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69b1c2ac2f860ef943697e5f

Added to database: 3/11/2026, 7:29:48 PM

Last enriched: 3/19/2026, 2:16:24 AM

Last updated: 4/25/2026, 2:01:23 PM

Views: 86

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses