{
  "id": "CVE-2026-31894",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31894",
  "published_at": "2026-03-11T19:05:51.687Z",
  "title": "WeGIA affected by arbitrary file read via symlink in backup restore",
  "vendor": "LabRedesCefetRJ",
  "product": "WeGIA",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-59",
  "cpes": [
    "cpe:2.3:a:wegia:wegia:3.6.5:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.9,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "LabRedesCefetRJ",
        "product": "WeGIA",
        "ranges": [
          "\u003e= 3.6.5, \u003c 3.6.6"
        ],
        "fixed_in": [
          "3.6.6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade WeGIA to 3.6.6 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-6mmm-27h8-8g55"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/LabRedesCefetRJ/WeGIA/commit/79e7a164eddb527e3b331037b7a4defb8c115d50"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
