{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.8.5"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "767bc5fcca54b9edcbf3ac8363736e528efdfc19"
            },
            {
              "fixed": "a98d59ff1d04f2dab3ca0b45b05173da2aa1e88d"
            }
          ],
          "repo": "https://github.com/labredescefetrj/wegia",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-chpq-hc43-6mhw"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-639",
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54671.json"
  },
  "details": "WeGIA is a web manager for charitable institutions. Prior to 3.8.5, WeGIA maps InternoControle to an empty resource array in web/controle/control.php, and verificarPermissao in web/dao/MiddlewareDAO.php treats that empty array as unconditional access for every authenticated user. The methods in web/controle/InternoControle.php, including listarUm, alterar, and excluir, accept user-controlled id or idInterno values without verifying ownership, allowing a low-privileged user to read, modify, or delete another person's records and expose personal, identity, address, medical, and family information. The advisory notes that a self-referencing load bug can crash this controller in the reported revision, but the empty-resource authorization pattern and affected methods remain the vulnerability under review. This issue is fixed in version 3.8.5.",
  "id": "CVE-2026-54671",
  "modified": "2026-09-20T11:30:49.455151849Z",
  "published": "2026-09-17T21:55:39.003Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.5"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54671.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-chpq-hc43-6mhw"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-54671"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/LabRedesCefetRJ/WeGIA/issues/1640"
    },
    {
      "type": "FIX",
      "url": "https://github.com/LabRedesCefetRJ/WeGIA/commit/767bc5fcca54b9edcbf3ac8363736e528efdfc19"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "WeGIA: Authorization Bypass via Empty Resource Array in InternoControle"
}