Skip to main content

CVE-2026-54670: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in LabRedesCefetRJ WeGIA

0
Critical
VulnerabilityCVE-2026-54670cvecve-2026-54670cwe-22cwe-306
Published: 09/17/2026 (09/17/2026, 21:54:43 UTC)
Source: CVE Database V5
Vendor/Project: LabRedesCefetRJ
Product: WeGIA

Description

WeGIA is a web manager for charitable institutions. Prior to 3.8.5, the contribution request dispatcher in web/html/contribuicao/controller/control.php accepts attacker-controlled nomeClasse and metodo values without a complete controller and method allowlist, exempts sensitive ContribuicaoLogController operations from authentication, and constructs a controller include path without canonical directory containment. An unauthenticated remote attacker can invoke getContribuicoesLogJSON, sincronizarStatus, registrarFaturas, and other sensitive methods to disclose contribution and donation records or trigger financial workflow operations. A traversal-shaped nomeClasse value can also cause require_once to include an accessible PHP or configuration file outside the intended controller directory, exposing source code, credentials, or other sensitive local data. This issue is fixed in version 3.8.5.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected software

LabRedesCefetRJ

WeGIA

Affected versions
<3.8.5
GitHub Actionsmore threats →ai
labredescefetrj/WeGIA
pkg:github/labredescefetrj/WeGIA
Affected versions
<3.8.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/17/2026, 22:12:50 UTC

Technical Analysis

The vulnerability in WeGIA prior to version 3.8.5 involves improper limitation of pathname to a restricted directory (CWE-22) and missing authentication on sensitive controller methods (CWE-306). The contribution request dispatcher accepts attacker-controlled 'nomeClasse' and 'metodo' parameters without a complete allowlist and constructs include paths without canonical directory containment. This allows an unauthenticated attacker to invoke sensitive methods such as getContribuicoesLogJSON, sincronizarStatus, and registrarFaturas, leading to disclosure of contribution and donation records or triggering financial workflows. Additionally, a specially crafted 'nomeClasse' value can cause require_once to include files outside the intended controller directory, exposing source code or credentials. The vulnerability is addressed in version 3.8.5.

Potential Impact

An unauthenticated remote attacker can exploit this vulnerability to access sensitive contribution and donation records, trigger financial workflow operations, and potentially disclose source code or credentials by including arbitrary files. The CVSS 3.1 base score is 9.1 (critical), reflecting high confidentiality and integrity impact with no required privileges or user interaction.

Mitigation Recommendations

This vulnerability is fixed in WeGIA version 3.8.5. Users should upgrade to version 3.8.5 or later to remediate this issue. No other mitigation steps are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-15T22:53:58.560Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aac65bc55bf5e2cf5fdf62a

Added to database: 09/17/2026, 22:12:12 UTC

Last enriched: 09/17/2026, 22:12:50 UTC

Last updated: 09/18/2026, 01:04:26 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses