High severity · published Mar 11, 2026
CVE-2026-31894
WeGIA affected by arbitrary file read via symlink in backup restore
7.5
CVSS
0.4%
EPSS
No
On KEV
Description
WeGIA is a web manager for charitable institutions. In 3.6.5, The patched loadBackupDB() extracts tar.gz archives to a temporary directory using PHP's PharData class, then uses glob() and file_get_contents() to read SQL files from the extracted contents. Neither the extraction nor the file reading validates whether archive members are symbolic links. This vulnerability is fixed in 3.6.6.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 38% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WE
WeGIA · LabRedesCefetRJ
>= 3.6.5, < 3.6.6 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-31894
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-31894
Patch
https://github.com/LabRedesCefetRJ/WeGIA/commit/79e7a164eddb527e3b331037b7a4defb8c115d50
Exploit
https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-6mmm-27h8-8g55
More from WeGIA
9.8
CVE-2026-55684
WeGIA: SQL Injection in html/socio/sistema/cadastro_cobrancas_geracao.php
9.8
CVE-2026-55680
WeGIA: Unauthenticated SQL Injection in cadastro_cobranca.php via "codigo" parameter
9.8
CVE-2026-55683
WeGIA: SQL Injection in html/socio/sistema/cadastro_cobranca.php
9.8
CVE-2026-31896
WeGIA has a Time-Based Blind SQL Injection in remover_produto_ocultar.php
9.8
CVE-2026-28411
WeGIA Vulnerable to Authentication Bypass via `extract($_REQUEST)`
