{"id":"CVE-2026-31894","published":"2026-03-11T19:05:51Z","modified":"2026-03-12T20:03:42Z","title":"WeGIA affected by arbitrary file read via symlink in backup restore","vendor":"LabRedesCefetRJ","product":"WeGIA","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00606,"percentile":0.43091,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-6mmm-27h8-8g55","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/LabRedesCefetRJ/WeGIA/commit/79e7a164eddb527e3b331037b7a4defb8c115d50","tags":["x_refsource_MISC"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":8.62},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"labredescefetrj","affectedVersions":[{"vendor":"LabRedesCefetRJ","product":"WeGIA","versions":[">= 3.6.5, < 3.6.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-12T20:03:36.257743Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-11309","exploited":false,"provenance":"source"}}