CVE-2026-35395: LabRedesCefetRJ WeGIA SQL injection in DespachoDAO.php

CVE-2026-35395 · Severity: high · CVSS 8.8 · Published 2026-04-06

WeGIA is a web-based management system used by charitable institutions to handle resident records, staff data, and financial information. A security flaw allows logged-in users to bypass data protections and run unauthorized database commands. This could lead to the theft of sensitive personal information, such as medical histories and financial records, or the total deletion of the organization's data.

Technologies: LabRedesCefetRJ WeGIA. Vendors: LabRedesCefetRJ.

Quick answers

Is CVE-2026-35395 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-35395 being exploited in the wild.
How severe is CVE-2026-35395?
High severity, with a CVSS score of 8.8, published 6 April 2026.
Which products and versions are affected?
LabRedesCefetRJ WeGIA < 3.6.9.
Is there a fix for CVE-2026-35395?
A patch was published on 2026-04-06: Vulnerability fixed in version 3.6.9 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-35395 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-35395?
Check whether you run LabRedesCefetRJ WeGIA at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A SQL injection vulnerability exists in `dao/memorando/DespachoDAO.php` within WeGIA versions prior to 3.6.9. The root cause is the unconditional use of `extract($_REQUEST)` in `DespachoControle::listarTodos()`, which populates the `$id_memorando` variable without validation. This variable is then directly interpolated into SQL queries in `DespachoDAO::listarTodos()` without using prepared statements or parameter binding. An authenticated attacker with access to the memorando module can exploit this via the `control.php` endpoint to perform unauthorized data extraction (including database schema and records), modification, or deletion. In certain database configurations, this could potentially escalate to remote code execution via file operations.

Affected products

  • LabRedesCefetRJ WeGIA < 3.6.9

Timeline

  • 2026-04-02: advisory: GitHub security advisory published by vendor
  • 2026-04-06: disclosed: CVE published to NVD
  • 2026-04-06: patched: Vulnerability fixed in version 3.6.9

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.