# CVE-2026-31896: WeGIA has a Time-Based Blind SQL Injection in remover_produto_ocultar.php

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-11T19:10:32.383Z
- Modified: 2026-06-17T10:34:43.000Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- LabRedesCefetRJ WeGIA: < 3.6.6
- wegia wegia: before 3.6.6

## References

- <https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-w7g3-87cr-8m83> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2026-31896](https://www.cve.org/CVERecord?id=CVE-2026-31896), CVE Terms of Use, modified 2026-03-12
- NVD: [CVE-2026-31896](https://nvd.nist.gov/vuln/detail/CVE-2026-31896), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-31896 · Whole record: https://cve.day/CVE-2026-31896.json · Rebuilt by cve.day 2026-11-25T22:59:15.771Z
