Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege employee
-
DeliveryObtain valid CSRF token from own session
-
ExploitPOST FuncionarioControle::adicionarPermissao to control.php
-
ExecutionMiddleware checks only resource row, not id_acao
-
PersistSelf-grant action-7 permission on sensitive resource
-
ImpactAccess admin functions, read/modify protected data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Privilege assignment review
|
| Exploitation Conditions | Exploitation requires an authenticated WeGIA employee session whose role holds at least one permission row for resource 11 or 91 - even a read-only id_acao=1 entry suffices - plus a valid CSRF token obtained from that same authenticated session. The flaw is reachable only through web/controle/control.php dispatching to FuncionarioControle, in versions prior to 3.9.1; the root cause is that MiddlewareDAO::verificarPermissao() checks only for the existence of a resource row and never compares the stored id_acao or authorizes the requested method. Limiting factors: the attacker must already be an authenticated insider with some permission on resources 11/91, cannot exploit this unauthenticated or from the outside, and cannot automate it against arbitrary targets (SSVC Automatable:no). No special non-default configuration is otherwise needed. |
| Impact | This is a genuine, well-corroborated authorization flaw but not an emergency-tier threat. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N) and the 8.8 score are consistent with the GHSA advisory and source evidence: a network-reachable, low-complexity operation requiring only a low-privileged authenticated session (PR:L) and no user interaction, yielding total impact (C:H/I:H/A:H) because an attacker can self-grant administrative action levels. The signals point one consistent direction but at moderate urgency: SSVC reports Exploitation:none and Automatable:no (the attacker must already hold an authenticated employee session with a resource-11 or -91 permission row, which cannot be scripted against arbitrary targets at scale), the vuln.today decision label is this_week rather than act_now/emergency, and there is no CISA KEV listing and no EPSS score in the input. A detailed proof-of-concept request is published in the GHSA advisory, which raises practical exploitability for anyone who already has a foothold, but SSVC Automatable:no and the absence of KEV/EPSS indicate this is an insider/post-authentication escalation path rather than mass-exploited internet attack surface. Net: real priority for any WeGIA operator because the technical impact is total and a patch exists, but the authentication precondition and non-automatable nature keep it below drop-everything urgency. |
| Exploit ScenarioDerived | A low-privileged WeGIA employee - holding only a read-only (id_acao=1) permission entry for resource 11 or 91 - sends a POST to control.php invoking FuncionarioControle::adicionarPermissao with a valid CSRF token from their own session, granting their own role a high action level (acao=7) over a sensitive resource. They then access administrative functionality to read or modify employee, patient, configuration, and administrative data, or use alterarPermissao/excluirPermissao to disrupt other roles' access. A step-by-step PoC request is published in the GHSA advisory, so the exact exploitation path is documented. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Authenticated privilege escalation in WeGIA prior to 3.9.1 allows an employee whose role holds any permission row for resource 11 or 91 - even a read-only id_acao=1 entry - to add, alter, or remove permission rows for arbitrary roles through FuncionarioControle::adicionarPermissao, alterarPermissao and excluirPermissao. The advisory provides a full proof-of-concept request sequence, so a public PoC reference exists; it is not verified as working exploit code, and CISA SSVC records no active exploitation and rates the issue non-automatable. Requires a valid CSRF token from the attacker's own session; CVSS 3.1 8.8 (AV:N/AC:L/PR:L/UI:N/C:H/I:H/A:H) reflects an insider-with-a-session threat rather than an unauthenticated attack, making this a genuine, well-corroborated authorization flaw but not an emergency-tier threat.
RemediationAI
Upgrade WeGIA to 3.9.1, which is the vendor-released patch; the fix commit adds permissao($_SESSION['id_pessoa'], 91, 7) checks ahead of adicionarPermissao, alterarPermissao and excluirPermissao so that the requested action level is actually authorized (see https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-27h8-4v64-8v85 and https://github.com/LabRedesCefetRJ/WeGIA/commit/9fb18f330ea31b240713812010690418cb3d0eed). No separate workaround is documented by the vendor. Because the advisory states the precondition is any existing permission row for resource 11 or 91, an interim compensating measure is to audit permissao rows for id_recurso 11 and 91 and remove the ones held by non-administrative roles; the trade-off is that those roles immediately lose whatever legitimate access those rows provided, and this is an inference from the described mechanism rather than a vendor-supported configuration. Detection can focus on POSTs to /controle/control.php with nomeClasse=FuncionarioControle and metodo set to adicionarPermissao, alterarPermissao or excluirPermissao originating from roles that legitimately hold only read-level (id_acao=1) permissions, since such calls are the documented exploitation pattern.
Affected VersionsENISA
Affected Packages
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 that dispatches controller methods through web/controle/control.php, mapping 'FuncionarioControle' to resources [11, 91] and invoking the attacker-supplied method name dynamically via $objeto->$metodo() after MiddlewareDAO::verificarPermissao() returns true. That middleware runs a SELECT over the permissao table filtered only by id_cargo and id_recurso and accepts the request on rowCount() > 0; the stored id_acao value is never read or compared against the action level the requested method requires, and the method itself is not authorized. This is CWE-266 (incorrect privilege assignment) with a CWE-863 (incorrect authorization) component: a role granted read-only access ends up able to write permission records. The permission-management methods do validate the caller's CSRF token but perform no additional administrative or action-level check, and then pass attacker-controlled role, resource and action identifiers into PermissaoDAO to insert, update or delete rows in the permissao table. The upstream fix (commit 9fb18f330ea31b240713812010690418cb3d0eed) inserts permissao($_SESSION['id_pessoa'], 91, 7) checks before the affected methods, adding the missing action-level authorization. The dispatcher path is the confirmed attack surface; the advisory does not describe any other route to these methods.
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable dispatcher, low complexity, requires a low-privileged authenticated employee with any resource-11/91 permission (PR:L); self-escalation to admin yields total confidentiality, integrity, and availability impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
WeGIA is a web manager for charitable institutions. Prior to 3.9.1, web/controle/control.php authorizes FuncionarioControle requests only by checking whether an authenticated employee has a permission row for resource 11 or 91, while MiddlewareDAO::verificarPermissao() does not compare the stored id_acao value or authorize the requested method. An employee with any such permission and a valid CSRF token from the employee's own session can invoke FuncionarioControle::adicionarPermissao, FuncionarioControle::alterarPermissao, or FuncionarioControle::excluirPermissao to add, change, or remove permissions for arbitrary roles. This can grant higher action levels over sensitive resources, expose or modify protected employee, patient, configuration, and administrative data, or disrupt legitimate access by changing other roles. This issue is fixed in version 3.9.1.
Technical POC Analysis
CWE-266 (Incorrect Privilege Assignment), corroborated as CWE-863 (Incorrect Authorization).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
WeGIA, an open-source HR management system, has a high-severity privilege escalation flaw (CVE-2026-69187) that allows any authenticated employee with even read-only permissions on specific resources to arbitrarily modify permission assignments for all roles. This enables an insider to escalate their own privileges or grant unauthorized access to others, undermining the integrity of access controls and potentially exposing sensitive HR data. Leadership should prioritize remediation because the flaw is easy to exploit with a valid session and could lead to data breaches or compliance violations.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
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
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-128079
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB