# CVE-2026-33134: WeGIA has Authenticated Time-Based Blind SQL Injection in `restaurar_produto.php` via `id_produto` parameter

- Severity: Critical 9.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N`
- 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.55%, higher than 39% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-20T10:35:43.400Z
- Modified: 2026-06-17T10:37:00.333Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

WeGIA is a web manager for charitable institutions. Versions 3.6.5 and below contain an authenticated SQL Injection vulnerability in the html/matPat/restaurar_produto.php endpoint. The vulnerability allows an authenticated attacker to inject arbitrary SQL commands via the id_produto GET parameter, leading to full database compromise. In the script /html/matPat/restaurar_produto.php, the application retrieves the id_produto parameter directly from the $_GET global array and interpolates it directly into two SQL query strings without any sanitization, type-casting (e.g., (int)), or using parameterized (prepare/execute) statements. This issue has been fixed in version 3.6.6.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-qg95-x997-66wq> (exploit, vendor-advisory)
- <https://github.com/LabRedesCefetRJ/WeGIA/pull/1457> (issue-tracking, patch)
- <https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.6.6> (product, release-notes)

## Sources

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

---

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