Skip to main content
VulnerabilityPublished Updated

CVE-2026-31896: LabRedesCefetRJ WeGIA · SQL Injection

Affects LabRedesCefetRJ WeGIASource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.8 Critical : upgrade to 3.6.6 as a priority.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.

Contested

Critical score, yet low EPSS after six months
EPSS
0.3% chance of exploitation in 30 days – higher than 30% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.6.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade WeGIA and labredescefetrj/WeGIA to 3.6.6.

Affected software

ProductAffectedFixed in
LabRedesCefetRJWeGIAAffected
  • <3.6.6
Fixed in
  • 3.6.6
GitHublabredescefetrj/WeGIApkg:github/labredescefetrj/WeGIAOther threatsAffected
  • <3.6.6
Fixed in
  • 3.6.6

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

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.

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.

References

Community reviews

Loading reviews…