Skip to main content

WeGIA EUVDEUVD-2026-82575

| CVE-2026-54671 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-09-17 security-advisories@github.com
8.8
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged user
  2. Exploit
    Call InternoControle method with foreign id/idInterno
  3. Execution
    Empty-resource check grants access, no ownership verification
  4. Impact
    Read/modify/delete another person's PII and medical records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Requires an authenticated low-privileged WeGIA account (PR:L); no user interaction and no special non-default configuration are needed since the empty-resource mapping for InternoControle is inherent to the code in versions prior to 3.8.5. The attacker must be able to reach the web application over the network and invoke InternoControle endpoints (listarUm, alterar, excluir) with an id/idInterno referencing another person's record. The primary limiting factor is that valid credentials to the target instance are required; a secondary caveat is the noted self-referencing load bug that can crash the controller in the reported revision, potentially interfering with clean exploitation.

Impact

The vendor CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 8.8) is internally consistent with the description: a network-reachable web app where any authenticated low-privileged user can exploit the flaw without user interaction. The C:H/I:H/A:H claim is well supported because the affected methods span reading (listarUm), modifying (alterar), and deleting (excluir) other users' records - so confidentiality (PII/medical/identity/address/family data), integrity, and availability of that data are all impacted. The real driver of risk is a broken-authorization design flaw (CWE-639 IDOR): InternoControle maps to an empty resource array which verificarPermissao treats as unconditional access, combined with methods that accept user-controlled id/idInterno without ownership checks. No EPSS score, KEV listing, POC, or SSVC data is provided. There is no evidence of active exploitation or public exploit code - the only GitHub artifact is the remediation commit. Net: this is a genuinely high-severity, easy-to-exploit authorization flaw, but its real-world priority is tempered by the product's very small deployment footprint. The 'self-referencing load bug can crash this controller' note means the reported revision may fault before full exploitation, but the advisory states the authorization pattern remains the vulnerability under review.

Exploit ScenarioDerived

An attacker registers or obtains any low-privileged account on a WeGIA instance, then calls InternoControle methods (e.g. listarUm, alterar, excluir) while supplying an id/idInterno value belonging to another person. Because InternoControle maps to an empty resource array that MiddlewareDAO treats as unconditional access and no ownership check is performed, the attacker reads, alters, or deletes arbitrary inmate/beneficiary records including personal, identity, address, medical, and family data. No public exploit code is identified at time of analysis, and exploitation is trivial (AC:L, no user interaction).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 17, 2026

Authorization bypass in WeGIA versions prior to 3.8.5 lets any authenticated low-privileged user read, modify, or delete records belonging to other people by tampering with user-controlled id or idInterno parameters on the InternoControle endpoints (listarUm, alterar, excluir), exposing personal, identity, address, medical, and family information. The vendor CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 8.8) is internally consistent with the flaw: no user interaction or non-default configuration is required, only valid credentials to a reachable instance, making this a high-impact horizontal privilege-escalation and data-breach vector for charitable institutions running the affected releases. At time of analysis no public exploit code was identified for this CVE and it is not listed in CISA KEV; no EPSS score was supplied with the source data.

RemediationAI

Vendor-released patch: upgrade to WeGIA 3.8.5, which restores authorization checks by adding permissao($_SESSION['id_pessoa'], 12, 3) calls to the InternoControle methods and removing the previously exposed listing routines, as reflected in commit 767bc5fcca54b9edcbf3ac8363736e528efdfc19 and the 3.8.5 release tag; refer to GitHub advisory GHSA-chpq-hc43-6mhw for vendor guidance. If immediate upgrade is not possible, compensating controls should focus on shrinking the authenticated attack surface: restrict network access to the WeGIA instance through a reverse proxy or firewall allow-list so only trusted institutional networks can reach it (trade-off: removes remote access for legitimate staff), and audit, disable, or tightly limit low-privileged accounts since the flaw requires only valid credentials to trigger (trade-off: may disrupt normal administrative workflows). Because the empty-resource mapping is inherent to the pre-3.8.5 code and affects the InternoControle endpoints directly, there is no reliable configuration toggle to disable those routes without modifying the shipped source, so patching remains the only complete remedy; monitoring logs for anomalous InternoControle requests with sequential or foreign id/idInterno values can provide detection coverage in the interim.

Affected VersionsENISA

WeGIA < 3.8.5

Affected Packages

euvd wegia fix: 3.8.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

WeGIA is a PHP web application for charitable institutions. Its authorization layer routes requests through web/controle/control.php, which maps each controller name to a set of permitted resources, and web/dao/MiddlewareDAO.php, whose verificarPermissao() function decides access based on that resource array. In versions before 3.8.5, InternoControle was mapped to an empty resource array, and verificarPermissao() interpreted an empty array as unconditional access for every authenticated user, effectively disabling per-controller authorization checks. The controller methods in web/controle/InternoControle.php, specifically listarUm, alterar, and excluir, then consumed user-supplied id or idInterno values without validating that the caller owned the referenced record. This is the classic CWE-639 Authorization Bypass Through User-Controlled Key (IDOR) pattern: the object identifier is attacker-controlled and the ownership check is absent, so a low-privileged account can traverse the identifier space to reach other persons' data. The upstream fix removes the vulnerable listing methods and inserts explicit permissao($_SESSION['id_pessoa'], 12, 3) calls before sensitive operations, restoring a real authorization gate, and hardens the database layer by binding :idCargo and :idRecurso as PDO::PARAM_INT in MiddlewareDAO.php. A separate self-referencing load bug noted in the advisory can crash the controller in the reported revision, which may interfere with clean, repeatable exploitation but does not remediate the underlying authorization defect.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-reachable web app, low-privileged authenticated user (PR:L), no interaction; read/modify/delete of other users' sensitive records yields C:H/I:H/A:H.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Sep 17, 2026 - 23:04 EUVD
CVE Published
Sep 17, 2026 - 22:17 cve.org
HIGH 8.8

DescriptionCVE.org

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.

Technical POC Analysis

Two chained defects in WeGIA's own application code (no third-party library is implicated).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity authorization flaw in WeGIA - the records-management platform used by charitable institutions - allows any authenticated user with the lowest privileges to view, alter, or delete other people's personal, identity, address, medical, and family records. Because the required access is a single valid login to a reachable instance, this exposes sensitive beneficiary and donor data at scale and undermines the integrity of the records those organizations rely on for care decisions and regulatory compliance. Leadership should treat this as both a privacy-breach and data-integrity risk affecting every institution running an affected release.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict network exposure of WeGIA instances to trusted networks or VPN, block or filter tampering with id/idInterno parameters at the WAF or reverse proxy, enforce least-privilege role assignments, enable and monitor audit logging on the InternoControle endpoints, and prepare to deploy version 3.8.5 (the affected-version boundary) or later once the vendor publishes and confirms it.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Low
niche open-source manager for charitable institutions, minimal enterprise footprint
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy