Skip to main content

WeGIA EUVDEUVD-2026-101619

| CVE-2026-55683 CRITICAL
SQL Injection (CWE-89)
2026-10-14 security-advisories@github.com
9.8
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Reach unauthenticated cadastro_cobranca.php endpoint
  2. Delivery
    POST crafted valor/id_socio parameters
  3. Exploit
    Break out of UPDATE/SELECT query
  4. Execution
    Inject arbitrary SQL via extract($_REQUEST)
  5. Persist
    Dump credentials and billing records
  6. Impact
    Truncate tables destroying data

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

No special conditions - remote unauthenticated exploitation against default configurations of WeGIA versions prior to 3.8.6. The vulnerable endpoint web/html/socio/sistema/cadastro_cobranca.php requires no authentication and no user interaction, and accepts injectable input (valor, valor_pago, id_pessoa, id_socio, id_sociotipo) via POST through extract($_REQUEST). The only meaningful limiting factors are that the WeGIA instance must be network-reachable by the attacker and must be running a version below 3.8.6; upgrading to 3.8.6 (which introduces prepared statements and integer/float filtering) fully removes the condition.

Impact

All available signals point to a genuine high-priority vulnerability rather than an inflated CVSS score. The CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N) describes a network-reachable, low-complexity flaw requiring no privileges and no user interaction, and the description independently corroborates this: the vulnerable cadastro_cobranca.php endpoint is explicitly unauthenticated and takes attacker-controlled POST input via extract($_REQUEST) straight into UPDATE/INSERT/SELECT statements with no prepared statements (CWE-89). The source-code commit diff confirms the root cause and the fix (migration to mysqli_prepare with bound parameters), so the technical claim is strongly substantiated. Signals are internally consistent - there is no network-vs-local contradiction here. The limiting factors are external to the bug itself: no EPSS score was provided, the CVE is NOT in CISA KEV, and no public POC flag was supplied, so there is no evidence of active or at-scale exploitation. The dominant risk-reducer is product prevalence: WeGIA is a niche charity-management application, so real-world blast radius is small even though per-instance impact is severe. Net assessment: critical technical severity and trivially exploitable on any exposed instance, but prioritize based on whether your organization actually runs WeGIA rather than treating this as a broadly scanned internet-wide threat.

Exploit ScenarioDerived

A remote, unauthenticated attacker locates an internet-exposed WeGIA instance (prior to 3.8.6) and sends a crafted POST request to web/html/socio/sistema/cadastro_cobranca.php, injecting SQL through the valor, valor_pago, id_pessoa, id_socio, or id_sociotipo parameters. Because input flows through extract($_REQUEST) into unparameterized queries, the attacker can read billing records and stored credential data, tamper with payment amounts, or DROP/TRUNCATE tables to destroy application data. No public exploit identified at time of analysis, but the confirmed commit diff makes the vulnerable code path fully transparent to any attacker.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 14, 2026

Unauthenticated SQL injection in WeGIA prior to 3.8.6 lets any remote attacker who can reach the application read, alter, or destroy its MySQL database through the billing endpoint web/html/socio/sistema/cadastro_cobranca.php. Because that endpoint is reachable without credentials (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, 9.8) and passes the valor, valor_pago, id_pessoa, id_socio and id_sociotipo parameters straight into UPDATE, INSERT and SELECT statements, an attacker can exfiltrate billing records and credential data or truncate tables to cause application-wide data loss. No public exploit code was identified at time of analysis and there is no CISA KEV entry indicating active exploitation, but the low attack complexity and lack of authentication make prompt upgrading to 3.8.6 the priority action.

RemediationAI

Upgrade to WeGIA 3.8.6, which is the vendor-released patch for this issue: it eliminates extract($_REQUEST), casts codigo, valor and valor_pago through filter_var integer/float validation, and rewrites the cobrancas UPDATE as a parameterised mysqli_prepare statement (see https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.6, https://github.com/LabRedesCefetRJ/WeGIA/pull/1705 and advisory https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-vjxh-wcf9-4qgq). If an immediate upgrade is not possible, block or restrict POST access to /html/socio/sistema/cadastro_cobranca.php at the reverse proxy or WAF while leaving legitimate billing workflows to a trusted administrative network - the trade-off is that staff can no longer create or update billing records from ordinary workstations until the path is re-enabled after patching. As a supplementary control, reduce the blast radius by granting the WeGIA database account only the privileges the application actually needs and revoking DROP and TRUNCATE, though this does not prevent the read and modify portions of the injection and may break maintenance scripts. Because the endpoint is unauthenticated by design in affected versions, network segmentation and restricting the application from direct internet exposure are also worthwhile interim measures, but none of these compensating controls replace the 3.8.6 upgrade.

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 backed by MySQL, and the vulnerable file web/html/socio/sistema/cadastro_cobranca.php combines two classic PHP anti-patterns: it calls extract($_REQUEST), which materialises every user-supplied GET/POST key as a local variable, and it then interpolates several of those variables (valor, valor_pago, id_pessoa, id_socio, id_sociotipo) directly into SQL text without prepared statements. That is the CWE-89 (SQL Injection) root cause: attacker-controlled input reaches the SQL parser as code rather than data, allowing arbitrary statement injection into the billing UPDATE, the pessoa INSERT, and the pessoa SELECT. The upstream fix in commit f819be361f984592c4b5a35db830495b4e2263fa removes extract() in favour of explicit $_POST reads, validates codigo, valor and valor_pago with filter_var(FILTER_VALIDATE_INT/FILTER_VALIDATE_FLOAT), and converts the billing UPDATE to a parameterised mysqli_prepare/mysqli_stmt_bind_param('sdsi') statement, which is the correct structural remediation for this class of defect. The tags supplied with the advisory (PHP, SQLi) are consistent with the CWE and with the affected technology stack.

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

Unauthenticated network endpoint with no interaction gives AV:N/AC:L/PR:N/UI:N; SQLi exposes credentials (C:H), modifies records (I:H), and enables table truncation (A:H).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/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
None
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
CRITICAL 9.8

DescriptionCVE.org

WeGIA is a web manager for charitable institutions. Prior to 3.8.6, the unauthenticated web/html/socio/sistema/cadastro_cobranca.php endpoint accepts POST input through extract($_REQUEST) and directly incorporates valor, valor_pago, id_pessoa, id_socio, and id_sociotipo into UPDATE, INSERT, and SELECT statements without prepared statements. A remote attacker can use the affected parameters to execute arbitrary SQL that reads or modifies WeGIA database content, including billing records and credential data. The same SQL access can delete or truncate tables, causing loss of application data. This issue is fixed in version 3.8.6.

Technical POC Analysis

CWE-89 SQL injection in web/html/socio/sistema/cadastrocobranca.php in WeGIA.

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 versions prior to 3.8.6 expose a billing-module endpoint that any remote attacker reaching the application can use to read, alter, or destroy the underlying MySQL database without supplying credentials. The practical consequence is corrupted or lost billing and customer records, potential exposure of credential data, and application-wide outages that would disrupt finance, billing, and IT operations. Leadership should treat this as a time-boxed priority because the attack requires no authentication and is trivially repeatable, even though no public exploit has been identified at time of analysis.

Business Impact: High
Compensating Controls

Apply vendor patch (upgrade to WeGIA 3.8.6); if deployment cannot be completed immediately, restrict network access to the billing endpoint (web/html/socio/sistema/cadastro_cobranca.php) to trusted networks, place it behind an authenticated reverse proxy with SQL-injection filtering, and reduce the application's MySQL account to least privilege.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Low
niche charity-management web app, limited industry-specific deployment footprint
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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Yes
Human Impact
High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
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