Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-55681
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 19:27 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 14 Oct 2026, 19:44 UTC

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.

osv:CVE-2026-55681
Complete source record
{
  "id": "830599959a3ff9ac70ae0afd1be90198d3853fc11feab6ffb5eb40943034a8c7",
  "url": "https://osv.dev/vulnerability/CVE-2026-55681",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "WeGIA: SQL Injection in html/matPat/restaurar_produto_desocultar.php via id_produto parameter",
    "summary": "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.",
    "evidence": "osv:CVE-2026-55681",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-55681",
      "aliases": [
        "CVE-2026-55681",
        "GHSA-9q8x-jqpj-23xp"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/labredescefetrj/wegia",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "d094a27b3afcd757c88f7c888d4ee7483acce4b0"
                },
                {
                  "fixed": "8fa3dfcd71c2058c3b6127fdb40d3f1ec068be3e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.8.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8fa3dfcd71c2058c3b6127fdb40d3f1ec068be3e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d094a27b3afcd757c88f7c888d4ee7483acce4b0"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "3.8.6"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.8.5",
            "3.8.4",
            "3.8.3",
            "3.8.2",
            "3.8.1",
            "3.7.3",
            "3.8.0",
            "3.7.2",
            "3.6.10",
            "3.7.1",
            "3.7.0",
            "3.6.8",
            "3.6.9",
            "3.6.4",
            "3.6.7",
            "3.6.6",
            "3.6.5",
            "3.6.2",
            "3.6.1",
            "3.6.0",
            "3.5.5",
            "3.5.4",
            "3.5.3",
            "3.5.2",
            "3.5.1",
            "3.5.0",
            "3.4.12",
            "3.4.11",
            "3.4.10",
            "3.4.9",
            "3.4.8",
            "3.4.7",
            "3.4.6",
            "3.4.5",
            "3.4.4",
            "3.4.3",
            "3.4.2",
            "3.4.1",
            "3.4.0",
            "3.3.3",
            "3.3.2",
            "3.3.1",
            "3.3.0",
            "v3.2.17",
            "v3.2.16",
            "v3.2.15",
            "v3.2.14",
            "v3.2.13",
            "v3.2.12",
            "v3.2.11",
            "v3.2.10",
            "v3.2.9",
            "v3.2.8",
            "v3.2.7",
            "v3.2.6",
            "v3.2.0",
            "v3.1",
            "v2.0",
            "v2.0-beta",
            "v1.0",
            "0.9.4-beta"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55681.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.813575739Z",
      "provider": "osv",
      "references": [
        "https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.6",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55681.json",
        "https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-9q8x-jqpj-23xp",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-55681",
        "https://github.com/LabRedesCefetRJ/WeGIA/issues/99",
        "https://github.com/LabRedesCefetRJ/WeGIA/commit/8fa3dfcd71c2058c3b6127fdb40d3f1ec068be3e",
        "https://github.com/LabRedesCefetRJ/WeGIA/pull/1705"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-89"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55681.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-55681",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489146,
  "published_at": "2026-10-14T19:44:57.437+00:00"
}