{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-31894 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-31894 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-31894 is a medium-severity path traversal vulnerability in Wegia Wegia, published on 11 Mar 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-31894 and fix it if it is affected.\n\nWhat it is: CVE-2026-31894 is a medium-severity path traversal vulnerability in Wegia Wegia, published on 11 Mar 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-31894 in the wild and no public exploit code.\n\nAffected product: Wegia Wegia. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-31894/ (Markdown: https://insights.sbomify.com/CVE-2026-31894/index.md)","id":"CVE-2026-31894","markdown":"https://insights.sbomify.com/CVE-2026-31894/index.md","name":"CVE-2026-31894","record":{"aliases":["GHSA-6mmm-27h8-8g55"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"WeGIA web manager","requires_auth":"high_privilege","summary":"An attacker can read arbitrary files by exploiting symlink handling during backup restoration in WeGIA.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"wegia","vendor":"wegia"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"WeGIA affected by arbitrary file read via symlink in backup restore","id":"CVE-2026-31894","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"wegia:wegia","products":["wegia:wegia"],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"WeGIA has a SQL Injection via Direct Query Interpolation in restaurar_produto.php","id":"CVE-2026-31895"},"packages":[],"prev":{"headline":"Tunnelblick arbitrary file read via symlink following in tunnelblickd","id":"CVE-2026-31893"},"products":["WeGIA"],"published":"2026-03-11","related":[{"cvss_score":10,"headline":"WeGIA Vulnerable to Remote Code Execution (RCE) via OS Command Injection","id":"CVE-2026-28409","kev_date_added":null,"published":"2026-02-27"},{"cvss_score":10,"headline":"WeGIA has a bypass for the fix for CVE-2025-22133 - Arbitrary File Upload leads to Remote Code Execution (RCE)","id":"CVE-2025-58745","kev_date_added":null,"published":"2025-09-08"},{"cvss_score":10,"headline":"WeGIA Authenticated Arbitrary File Upload Leading To Remote Code Execution (RCE)","id":"CVE-2025-58159","kev_date_added":null,"published":"2025-08-29"},{"cvss_score":10,"headline":"WeGIA Path Traversal at endpoint 'html/socio/sistema/download_remessa.php' via parameter 'file'","id":"CVE-2025-55169","kev_date_added":null,"published":"2025-08-12"},{"cvss_score":10,"headline":"WeGIA vulnerable to SQL Injection (Blind Time-Based) in `processa_deletar_socio.php` parameter `id_socio`","id":"CVE-2025-53823","kev_date_added":null,"published":"2025-07-14"},{"cvss_score":10,"headline":"WeGIA has Unauthenticated Time-Based Blind SQL Injection in almox Parameter","id":"CVE-2025-53091","kev_date_added":null,"published":"2025-06-27"},{"cvss_score":10,"headline":"Unauthenticated SQL Injection on get_socios.php endpoint","id":"CVE-2025-46828","kev_date_added":null,"published":"2025-05-07"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-12","vendors":["LabRedesCefetRJ"]},"summary":"An attacker can read arbitrary files by exploiting symlink handling during backup restoration in WeGIA.","url":"https://insights.sbomify.com/CVE-2026-31894/"}