CVE-2026-31894 WeGIA affected by arbitrary file read via symlink in backup restore
MediumCVSS 6.9
EPSS 0.48%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHP
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.
Upgrade path
2 packages: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| LabRedesCefetRJ WeGIA | = >= 3.6.5, < 3.6.6 | No fix listed | Versions listed |
| wegia | = 3.6.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| LabRedesCefetRJ WeGIA | = >= 3.6.5, < 3.6.6 | No fix listed |
| wegia | = 3.6.5 | No fix listed |
References
- https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-6mmm-27h8-8g55 exploit mitigation vendor-advisory
- https://github.com/LabRedesCefetRJ/WeGIA/commit/79e7a164eddb527e3b331037b7a4defb8c115d50 patch