6.9Medium
CVE-2026-31894WeGIA affected by arbitrary file read via symlink in backup restore
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.
Weakness (CWE):
CWE-59
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| LabRedesCefetRJ | WeGIA | >= 3.6.5, < 3.6.6 | |
| wegia | wegia | 3.6.5 |
References and patches
CPE matches (NVD) (1)
cpe:2.3:a:wegia:wegia:3.6.5:*:*:*:*:*:*:*