Skip to main content

WeGIA EUVDEUVD-2026-128183

| CVE-2026-69188 HIGH
PHP Remote File Inclusion (CWE-98)
2026-11-17 security-advisories@github.com
7.2
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with backup-management permission
  2. Delivery
    Upload crafted gzip tar archive
  3. Exploit
    Set modulo to phar:// path of upload
  4. Execution
    require_once loads embedded InternoControle
  5. Persist
    Controller method runs as web-server user
  6. Impact
    Arbitrary PHP and OS command execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Command and Control

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated WeGIA user holding the backup-management permission (PR:H) - this is the primary limiting factor and excludes anonymous/low-privilege remote attackers. The attacker must be able to upload a crafted gzip/tar archive via web/html/configuracao/importar_dump.php and must know the configured BKP_DIR path to build the phar:// modulo value; the default is /var/www/bkpWeGIA, and customized BKP_DIR installations require the attacker to know that path. Affected versions are WeGIA <= 3.9.0 (fixed in 3.9.1). Note the PHP hardening settings phar.readonly=On and phar.require_hash=On do NOT prevent this exploitation, because PHP still reads and executes files from the gzip tar archive through phar://. The whitelisted InternoControle, treated as authorized due to its empty resource list, is what makes the inclusion reachable.

Impact

This is a genuine high-impact RCE but with a meaningful access barrier, so it sits below the 'drop everything' tier. The supplied CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, base 7.2) explicitly encodes PR:H - exploitation requires an authenticated account holding the backup-management permission - so this is not a pre-auth internet-facing bug. Against that, the technical impact is severe: full arbitrary PHP/OS command execution as the web-server account with C:H/I:H/A:H. No EPSS score and no KEV status are present in the input, so there is no signal of widespread or active exploitation; absence of these is not evidence of safety, merely missing data. The vuln.today Decision label is 'this_week' (not act_now/emergency), consistent with a serious-but-authenticated flaw. A detailed, reporter-validated PoC is published in the GHSA advisory, which raises the practical likelihood that a malicious or compromised privileged user, or an attacker who has already phished/obtained a backup-admin session, can achieve code execution. Net: prioritize for prompt patching (this week) rather than emergency response, with the caveat that the real risk is dominated by how tightly the backup-management permission is controlled and whether the backup directory path is known/default.

Exploit ScenarioDerived

An attacker who controls a WeGIA account with the backup-management permission (an insider, or an attacker who hijacked such a session) uploads a gzip-compressed tar archive containing a malicious InternoControle.php through importar_dump.php. They then call control.php with modulo set to a phar:// path pointing at their uploaded archive in BKP_DIR (default /var/www/bkpWeGIA), causing require_once() to load and execute the embedded controller and its method as the web-server process. A full working PoC demonstrating this chain is published in the GHSA advisory.

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

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

Alert me

AnalysisAIv1 – Nov 18, 2026

Authenticated PHP code execution in WeGIA 3.9.0 and earlier lets a user holding the backup-management permission upload a crafted gzip/tar archive and then have an embedded controller file loaded and run as the web-server process. The chain combines an unrestricted upload in web/html/configuracao/importar_dump.php with a user-controlled 'modulo' path in web/controle/control.php that is concatenated into require_once(), so pointing modulo at phar://<BKP_DIR>/<uploaded-archive> and naming the whitelisted InternoControle executes attacker code - both top-level file code and the requested controller method. Exploitation requires a valid session with backup-management rights (CVSS PR:H), the ability to reach the upload endpoint, and knowledge of the configured BKP_DIR (default /var/www/bkpWeGIA); a full proof-of-concept with curl commands is published in the vendor's GitHub security advisory. CVSS 3.1 base score 7.2 (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H); no CISA KEV listing is present in the supplied data, and the priority guidance places remediation in the this_week window.

RemediationAI

Vendor-released patch: upgrade WeGIA to 3.9.1, which is the complete fix per the advisory; the patch adds rejection of stream-wrapper prefixes (phar://, file://), directory traversal and absolute paths for the 'modulo' parameter in web/controle/control.php, and adds extension, MIME-type and realpath containment validation for uploads in web/html/configuracao/importar_dump.php, so the phar:// inclusion path and the malicious-archive upload both fail. Advisory and diff details are at https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-vxf4-mrgm-vp43, https://github.com/LabRedesCefetRJ/WeGIA/commit/620ed2997ead2c7da6829e5b70dd0b81e2a2f98e and https://github.com/LabRedesCefetRJ/WeGIA/pull/1892. Note that disabling or hardening PHAR settings does not help here: the advisory confirms the exploit still succeeded with phar.readonly=On and phar.require_hash=On, so those INI settings are not a valid workaround. The only barrier evidenced for unpatched instances is the prerequisite permission itself - the attacker must already hold an authenticated account with backup-management rights - so until 3.9.1 is deployed, restricting that permission to trusted administrators (and reviewing which accounts currently hold it) is the exposure-reduction step supported by the reported prerequisites, with the trade-off that those administrators lose the ability to import or list backups.

Affected VersionsENISA

WeGIA < 3.9.1

Affected Packages

euvd wegia fix: 3.9.1

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, and this is a PHP Remote File Inclusion issue (CWE-98, with CWE-434 unrestricted upload as the enabling weakness). Two design decisions combine: the dump importer validates an upload loosely - filename ending in dump.tar.gz plus a gzip or tar MIME type - and writes it into BKP_DIR under a predictable timestamp name that the backup UI then discloses; separately, the central dispatcher in web/controle/control.php builds $pathRequire from an attacker-supplied 'modulo' parameter, appends the user-supplied nomeClasse and '.php', and passes the result to require_once(). FILTER_SANITIZE_SPECIAL_CHARS does not strip the phar:// scheme, and the controller whitelist treats InternoControle as authorized because its resource list is empty, so the inclusion is reachable. Because PHP can read and execute files from a gzip-compressed tar archive through the phar:// stream wrapper, the attacker's embedded InternoControle.php is loaded from the uploaded backup; the advisory confirms this works even with phar.readonly=On and phar.require_hash=On, since those settings limit archive creation and signature enforcement rather than phar:// reads of tar-based archives. Resulting code runs with the web-server account's privileges, exposing configuration, database credentials, institutional data, source files, host commands, and reachable services. The upstream fix (commit 620ed2997ead2c7da6829e5b70dd0b81e2a2f98e, PR 1892) rejects stream-wrapper prefixes, directory traversal and absolute paths in control.php, and adds extension, MIME and realpath containment checks in importar_dump.php.

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 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.2 HIGH

Network-reachable dispatcher with low complexity, but the backup-management permission and file upload require high privilege (PR:H); full code execution gives C/I/A High within the unchanged web-server scope.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/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
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 17, 2026 - 23:34 EUVD
CVE Published
Nov 17, 2026 - 22:19 cve.org
HIGH 7.2

DescriptionCVE.org

WeGIA is a web manager for charitable institutions. Prior to 3.9.1, a user with backup-management permission can upload a crafted gzip-compressed tar archive through web/html/configuracao/importar_dump.php, after which web/controle/control.php accepts a user-controlled modulo value and combines it with nomeClasse for require_once(). By using a phar:// path to the uploaded archive and selecting the whitelisted InternoControle, whose empty resource list is treated as authorized, the user can cause an embedded controller file and its requested method to execute as the web-server process. The attack path depends on the configured BKP_DIR, and enabling phar.readonly or phar.require_hash does not prevent PHP from reading the gzip tar archive through phar://. Successful exploitation permits access to or modification of sensitive data, configuration, credentials, source files, host commands, and services reachable by the web-server account. This issue is fixed in version 3.9.1.

Technical POC Analysis

CWE-98 (Improper Control of Filename for Include/Require Statement), enabled by CWE-434 (Unrestricted Upload of File with Dangerous Type).

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 vulnerability in WeGIA (versions 3.9.0 and earlier) enables authenticated users with backup-management permissions to execute arbitrary PHP code on the web server by uploading a malicious archive. This could lead to full server compromise, data breaches, or service disruption, affecting the confidentiality, integrity, and availability of the application and its data. Leadership should prioritize remediation because exploitation requires only a valid privileged session, and a public proof-of-concept is available.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 49% exploitable
Prevalence
Low
niche open-source web manager for charitable institutions, limited deployment
Data Quality
5 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.6%
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

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

Attack Technique

Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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