{"id":"CVE-2026-31894","aliases":["CVE-2026-31894"],"related":[],"kind":"vulnerability","state":"published","title":"WeGIA affected by arbitrary file read via symlink in backup restore","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"WeGIA es un gestor web para instituciones benéficas. En 3.6.5, la función `loadBackupDB()` parcheada extrae archivos tar.gz a un directorio temporal utilizando la clase `PharData` de PHP, luego usa `glob()` y `file_get_contents()` para leer archivos SQL del contenido extraído. Ni la extracción ni la lectura de archivos validan si los miembros del archivo son enlaces simbólicos. Esta vulnerabilidad está corregida en 3.6.6.","source":"nvd"}],"published":"2026-03-11T19:05:51.687Z","modified":"2026-06-17T10:34:42.777Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":6.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-59"],"affected":[{"ranges":[{"version":">= 3.6.5, < 3.6.6","status":"affected"}],"vendor":"LabRedesCefetRJ","product":"WeGIA","source":"cvelist"},{"ranges":[{"status":"affected","version":"3.6.5"}],"vendor":"wegia","product":"wegia","cpe":"cpe:2.3:a:wegia:wegia:3.6.5:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-6mmm-27h8-8g55","tags":["exploit","mitigation","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/LabRedesCefetRJ/WeGIA/commit/79e7a164eddb527e3b331037b7a4defb8c115d50","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-12T20:03:36.257Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31894","url":"https://www.cve.org/CVERecord?id=CVE-2026-31894","licence":"CVE Terms of Use","modified":"2026-03-12T20:03:42.724Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31894","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31894","licence":"Public domain","modified":"2026-06-17T10:34:42.777Z"}],"updatedAt":"2026-11-25T22:59:15.770Z","epss":{"score":0.00481,"percentile":0.43095,"date":"2026-12-01T12:00:22.000Z"}}