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.
Published: 2026-10-14
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Potential Data Breach through Arbitrary SQL Execution
Action: Patch Immediately
AI Analysis

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.

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

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 yet.

History

Thu, 15 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 14 Oct 2026 20:00:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-15T15:14:31.444Z

Reserved: 2026-06-17T00:13:10.649Z

Link: CVE-2026-55681

cve-icon Vulnrichment

Updated: 2026-10-15T15:14:06.431Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T20:17:50.343

Modified: 2026-10-15T16:18:16.613

Link: CVE-2026-55681

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-15T14:00:07Z

Weaknesses
  • CWE-89

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