CVE-2026-31894
published medium CVSS 4.0 · 6.9WeGIA affected by arbitrary file read via symlink in backup restore
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| LabRedesCefetRJ | — | WeGIA>= 3.6.5, < 3.6.6 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| LabRedesCefetRJ | WeGIA | >= 3.6.5, < 3.6.6 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following')
References
2Provider assertions
2GitHub_M · cna
WeGIA affected by arbitrary file read via symlink in backup restore
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 895b628a8113d157cf418744df17a5f0a9fb85a9e00bf8e85bac9a63f78622ef
- Ingested
- 23 Sep 2026, 09:09:43 UTC
- Source record
- Official CVE record