{
  "id": "CVE-2026-40285",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-40285",
  "published_at": "2026-04-17T20:25:33.185Z",
  "title": "WeGIA has SQL Injection via Session Variable Override in DespachoControle.php",
  "vendor": "LabRedesCefetRJ",
  "product": "WeGIA",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "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. Versions prior to 3.6.10 contain a SQL injection vulnerability in dao/memorando/UsuarioDAO.php. The cpf_usuario POST parameter overwrites the session-stored user identity via extract($_REQUEST) in DespachoControle::verificarDespacho(), and the attacker-controlled value is then interpolated directly into a raw SQL query, allowing any authenticated user to query the database under an arbitrary identity. Version 3.6.10 fixes the issue.",
  "cwe": "CWE-89",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "LabRedesCefetRJ",
        "product": "WeGIA",
        "ranges": [
          "\u003c 3.6.10"
        ],
        "fixed_in": [
          "3.6.10"
        ]
      }
    ],
    "upgrade": [
      "Upgrade WeGIA to 3.6.10 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-666r-v2m7-xgp9"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
