{
  "id": "CVE-2026-31945",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31945",
  "published_at": "2026-03-27T19:23:53.395Z",
  "title": "LibreChat Server-Side Request Forgery using DNS resolution",
  "vendor": "danny-avila",
  "product": "LibreChat",
  "cvss": {
    "score": 7.7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/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": "LibreChat is a ChatGPT clone with additional features. Versions 0.8.2-rc2 through 0.8.2 are vulnerable to a server-side request forgery (SSRF) attack when using agent actions or MCP. Although a previous SSRF vulnerability (https://github.com/danny-avila/LibreChat/security/advisories/GHSA-rgjq-4q58-m3q8) was reported and patched, the fix only introduced hostname validation. It does not verify whether DNS resolution results in a private IP address. As a result, an attacker can still bypass the protection and gain access to internal resources, such as an internal RAG API or cloud instance metadata endpoints. Version 0.8.3-rc1 contains a patch.",
  "cwe": "CWE-918",
  "cpes": [
    "cpe:2.3:a:librechat:librechat:0.8.2:-:*:*:*:*:*:*",
    "cpe:2.3:a:librechat:librechat:0.8.2:rc2:*:*:*:*:*:*",
    "cpe:2.3:a:librechat:librechat:0.8.2:rc3:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "danny-avila",
        "product": "LibreChat",
        "ranges": [
          "\u003e= 0.8.2-rc2, \u003c 0.8.3-rc1"
        ],
        "fixed_in": [
          "0.8.3-rc1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade LibreChat to 0.8.3-rc1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/danny-avila/LibreChat/security/advisories/GHSA-f92m-jpv7-55p2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
