Skip to main content

WeGIA EUVDEUVD-2026-101622

| CVE-2026-55681 HIGH
SQL Injection (CWE-89)
2026-10-14 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 to WeGIA with Material & Patrimônio access
  2. Delivery
    Submit malicious id_produto to restaurar_produto_desocultar.php
  3. Exploit
    extract() overwrites sanitized value
  4. Execution
    Injected SQL alters UPDATE statements
  5. Impact
    Exfiltrate or modify database records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

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

Exploitation Conditions

Exploitation requires a valid authenticated WeGIA account whose role grants access to the Material & Patrimônio (Material & Patrimony) module, and the attacker must reach the specific endpoint web/html/matPat/restaurar_produto_desocultar.php with a controlled id_produto parameter. The limiting factors are the authentication requirement (PR:L) and the module-level authorization - this cannot be triggered by an anonymous visitor. No user interaction, non-default configuration, or special platform is needed beyond running a WeGIA instance prior to 3.8.6; the flawed extract($_REQUEST) is present in the default code path.

Impact

The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) is internally consistent with the description and the source diff: a network-reachable PHP endpoint where a second extract($_REQUEST) clobbers the intval()-sanitized id_produto, interpolating attacker-controlled input into three UPDATE statements - a textbook CWE-89. The PR:L is well-justified because the description explicitly requires an authenticated user with access to the Material & Patrimônio module, so this is not an unauthenticated internet-wide risk. No EPSS score, no CISA KEV listing, and no SSVC decision data were supplied, so exploitation-probability and automatability signals are simply absent rather than low; their absence should not be read as 'safe.' There is no public exploit identified at time of analysis - the only code artifact is the vendor's fix commit, which is a patch, not a weaponized POC. Net assessment: a genuine high-impact SQL injection that is real and worth patching for any WeGIA operator, but the required authenticated foothold plus the niche, low-footprint nature of the product mean it is far below the priority of a comparably-scored flaw in ubiquitous software. Treat as a standard high-priority patch for WeGIA deployments, not an emergency for the broader fleet.

Exploit ScenarioDerived

An authenticated low-privilege WeGIA user who can reach the Material & Patrimônio module sends a crafted id_produto value in a request to web/html/matPat/restaurar_produto_desocultar.php; because extract($_REQUEST) overwrites the intval()-cleaned variable, the raw value is injected into the UPDATE statements. The attacker leverages this to read sensitive records or tamper with institutional and inventory data. No public exploit code is identified, but the vendor fix commit publicly reveals the exact vulnerable sink.

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 – Oct 14, 2026

Authenticated SQL injection in WeGIA versions prior to 3.8.6 allows a user with access to the Material & Patrimônio module to inject arbitrary SQL through the id_produto parameter of web/html/matPat/restaurar_produto_desocultar.php, enabling extraction of sensitive database records and modification of institutional and inventory data. The flaw is rated CVSS 3.1 base 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) and requires a valid low-privileged account plus module-level authorization, so anonymous visitors cannot trigger it. No public exploit identified at time of analysis; the vulnerable code path ships by default in affected releases and a vendor fix (3.8.6) is available.

RemediationAI

Vendor-released patch: upgrade WeGIA to version 3.8.6 or later, which removes the extract($_REQUEST) call and replaces the string-interpolated UPDATE statements in web/html/matPat/restaurar_produto_desocultar.php with bound parameters - see the release at https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.6, the fix commit https://github.com/LabRedesCefetRJ/WeGIA/commit/8fa3dfcd71c2058c3b6127fdb40d3f1ec068be3e and advisory GHSA-9q8x-jqpj-23xp. If an immediate upgrade is not possible, apply the commit diff manually to the deployed file (delete the extract($_REQUEST) line and convert the three UPDATE statements to prepared statements with :idProduto bound), noting that manual edits will be overwritten at the next upgrade and must be re-verified. As compensating controls, restrict and audit accounts whose roles grant Material & Patrimônio module access, since exploitation requires an authenticated user at that privilege level (PR:L); block or heavily rate-limit/deprecate requests to web/html/matPat/restaurar_produto_desocultar.php at the web server or reverse proxy for non-administrative roles, accepting that legitimate product-restoration functionality will break for those users; and deploy WAF rules matching SQL metacharacters in the id_produto parameter, recognizing that WAF signatures are bypassable and only provide defense in depth. Also rotate database credentials and review produto, isaida and ientrada records and database logs for unauthorized modifications on any instance that ran a version prior to 3.8.6.

Affected VersionsENISA

WeGIA < 3.8.6

Affected Packages

euvd wegia fix: 3.8.6

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, and the affected endpoint sits in the Material & Patrimônio module, which manages inventory products, entries (ientrada) and exits (isaida). The root cause is CWE-89 (SQL Injection) arising from PHP's variable-clobbering behavior: intval() is applied to id_produto for sanitization, but a subsequent extract($_REQUEST) re-imports the request variable into the local scope and overwrites the sanitized integer with the raw attacker-supplied string. That raw value is then string-interpolated directly into three UPDATE statements targeting the produto, isaida and ientrada tables ("UPDATE produto SET oculto=false WHERE id_produto=$id_produto;" and equivalents), so a crafted id_produto can terminate the WHERE clause and append arbitrary SQL. The upstream commit 8fa3dfcd71c2058c3b6127fdb40d3f1ec068be3e removes the extract($_REQUEST) call and rewrites the three statements to use bound parameters (:idProduto), which eliminates the injection class rather than merely filtering input. Because POST/GET parameters flow through $_REQUEST with no type enforcement, both the confidentiality and integrity impact are high, consistent with the assessed vector.

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-facing PHP endpoint (AV:N/AC:L) requires an authenticated module-scoped account (PR:L), no interaction (UI:N); SQL injection yields full read/write DB impact (C/I/A:H) within one security scope (S:U).

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
Oct 14, 2026 - 21:18 EUVD
CVE Published
Oct 14, 2026 - 20:17 cve.org
HIGH 8.8

DescriptionCVE.org

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.

Technical POC Analysis

CWE-89 (SQL Injection).

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

WeGIA, an institutional management platform used to track material and asset (MatPat) records, contains an authenticated SQL injection flaw (CVE-2026-55681) that allows any user with access to the Material & Patrimônio module to read and alter the underlying database, including sensitive institutional and inventory data. Because triggering the flaw requires only a valid low-privileged account rather than anonymous access, the realistic threat actors are insiders, contractors, or anyone who has obtained legitimate credentials, narrowing the surface but raising the accountability and data-integrity stakes. Leadership should care because unauthorized modification of asset and inventory records directly undermines the trustworthiness of institutional reporting, and the vulnerable code path ships by default in affected releases, with no public exploit identified at time of analysis.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 63% exploitable
Prevalence
Low
niche web manager for charitable institutions, limited deployment footprint
Data Quality
6 sources
Confidence: High

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

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

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