SQL Injection in Labredescefetrj Wegia
CVE-2026-31896
WeGIA is a web manager for charitable institutions. Prior to version 3.6.6, a critical SQL injection vulnerability exists in the WeGIA application. The remover_produto_ocultar.php script uses extract($_REQUEST) to populate local variables and then directly concatenates these variables into a SQL query executed via PDO::query. This allows an authenticated (or auth-bypassed) attacker to execute arbitrary SQL commands. This can be used to exfiltrate sensitive data from the database or, as demonstrated in this PoC, cause a time-based delay (denial of service). This vulnerability is fixed in 3.6.6.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.005 (43.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 43rd percentile — 43.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.005 · change: +0.002
Affected products
- Labredescefetrj Wegia — versions < 3.6.6
- Wegia
Weakness classification (CWE)
References
- github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-w7g3-87cr-8m83 (Exploit, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-31896?
- CVE-2026-31896 is a critical-severity vulnerability in Labredescefetrj Wegia, classified under SQL Injection. CVSS score: 9.8/10. Published 2026-03-11.
- How severe is CVE-2026-31896?
- Critical severity. CVSS v3 base score is 9.8 out of 10.