CVE-2026-31895: LabRedesCefetRJ WeGIA · SQL Injection
Affects LabRedesCefetRJ WeGIASource CVE Database V5
Not known to be exploited · CVSS 8.8 High : upgrade to 3.6.6 soon.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 34% 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:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 11 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| LabRedesCefetRJWeGIA | Affected
| Fixed in
|
GitHublabredescefetrj/WeGIApkg:github/labredescefetrj/WeGIAOther threats | Affected
| Fixed in
|
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 installations to version 3.6.6 or later, where the SQL injection vulnerability has been fixed by proper parameterization of SQL queries. Until patching is possible, implement strict input validation and sanitization on the id_produto parameter at the web application firewall or application level to block malicious payloads. Restrict database user privileges to the minimum necessary, ensuring that the database account used by WeGIA cannot perform destructive operations beyond its scope. Enable detailed logging and monitoring of database queries and application logs to detect anomalous activities indicative of SQL injection attempts. Conduct regular security assessments and code reviews focusing on input handling and query construction. Additionally, consider deploying runtime application self-protection (RASP) solutions that can detect and block injection attacks in real time. Educate developers and administrators on secure coding practices to prevent similar vulnerabilities in future releases.
Description
WeGIA is a web manager for charitable institutions. Prior to version 3.6.6, WeGIA (Web gerenciador para instituições assistenciais) contains a SQL injection vulnerability in html/matPat/restaurar_produto.php. The id_produto parameter from $_GET is directly interpolated into SQL queries without parameterization or sanitization. This vulnerability is fixed in 3.6.6.