# CVE-2026-31945: LibreChat Server-Side Request Forgery using DNS resolution

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-27T19:23:53.395Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- danny-avila LibreChat: >= 0.8.2-rc2, < 0.8.3-rc1
- librechat librechat: 0.8.2

## References

- <https://github.com/danny-avila/LibreChat/security/advisories/GHSA-f92m-jpv7-55p2> (exploit, mitigation, vendor-advisory)

## Sources

- CVE List: [CVE-2026-31945](https://www.cve.org/CVERecord?id=CVE-2026-31945), CVE Terms of Use, modified 2026-03-30
- NVD: [CVE-2026-31945](https://nvd.nist.gov/vuln/detail/CVE-2026-31945), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-31945 · Whole record: https://cve.day/CVE-2026-31945.json · Rebuilt by cve.day 2026-11-25T22:59:17.422Z
