CVE-2026-55681

WeGIA: SQL Injection in html/matPat/restaurar_produto_desocultar.php via id_produto parameter

Published Oct 14, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
WeGIA is a web manager for charitable institutions. Prior to 3.8.6, an authenticated user with access to the Material & Patrimônio module can submit id_produto to web/html/matPat/restaurar_produto_desocultar.php, where a second extract($_REQUEST) overwrites the value previously sanitized by intval(). The raw value is interpolated into UPDATE statements for the produto, isaida, and ientrada tables. An attacker can execute arbitrary SQL to extract sensitive database records or modify institutional and inventory data. This issue is fixed in version 3.8.6.

Analysis

AI-generated

Technical impact

The vulnerability occurs when an authenticated user with access to the Material & Patrimônio module submits an id_produto value to the restaurar_produto_desocultar.php script. A second extract() call overwrites the previously sanitized integer, allowing attacker-supplied input to be interpolated directly into UPDATE statements that affect the produto, isaida, and ientrada tables. This flaw, a CWE-89 SQL Injection vulnerability, enables arbitrary SQL execution, which can read sensitive database records or modify inventory data, resulting in confidentiality and integrity compromise.

Affected Systems

Affected system: The web manager WeGIA, created by LabRedesCefetRJ. All releases prior to 3.8.6 are vulnerable; upgrade to 3.8.6 or newer eliminates the issue.

Risk and Exploitability

The CVSS score of 8.8 indicates a high severity impact. Although the EPSS score is not available, the lack of listing in the CISA KEV catalog suggests no known widespread exploitation yet. Exploitation requires an attacker to authenticate and have permissions to the vulnerable module, thus the attack vector is insider or compromised user. The combination of high severity and a local authenticated prerequisite means the overall risk is moderate to high for environments where privileged users are available.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade WeGIA to version 3.8.6 or later to apply the vendor supplied fix that sanitizes the id_produto parameter.
  • Restrict or disable the Material & Patrimônio module for users who do not require access, ensuring only trusted staff can reach the vulnerable endpoint.
  • Implement or enforce strict integer validation for id_produto, such as using parameterized queries or a Web Application Firewall rule, to block malformed SQL payloads.

Generated by OpenCVE AI on October 15, 2026 at 13:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Labredescefetrj
Labredescefetrj wegia
Vendors & Products Labredescefetrj
Labredescefetrj wegia
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description WeGIA is a web manager for charitable institutions. Prior to 3.8.6, an authenticated user with access to the Material & Patrimônio module can submit id_produto to web/html/matPat/restaurar_produto_desocultar.php, where a second extract($_REQUEST) overwrites the value previously sanitized by intval(). The raw value is interpolated into UPDATE statements for the produto, isaida, and ientrada tables. An attacker can execute arbitrary SQL to extract sensitive database records or modify institutional and inventory data. This issue is fixed in version 3.8.6.
Title WeGIA: SQL Injection in html/matPat/restaurar_produto_desocultar.php via id_produto parameter
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 15, 2026, 3:14 PM
Reserved
Jun 17, 2026, 12:13 AM
Status
Deferred
Published
Oct 14, 2026, 8:17 PM
Modified
Oct 15, 2026, 4:18 PM