# CVE-2026-31943: LibreChat has SSRF protection bypass via IPv4-mapped IPv6 normalization in isPrivateIP

- Severity: High 8.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/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.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-27T19:21:50.653Z
- 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. Prior to version 0.8.3, `isPrivateIP()` in `packages/api/src/auth/domain.ts` fails to detect IPv4-mapped IPv6 addresses in their hex-normalized form, allowing any authenticated user to bypass SSRF protection and make the server issue HTTP requests to internal network resources — including cloud metadata services (e.g., AWS `169.254.169.254`), loopback, and RFC1918 ranges. Version 0.8.3 fixes the issue.

(As written by CVE List.)

## Affected

- danny-avila LibreChat: < 0.8.3
- librechat librechat: before 0.8.3; 0.8.3

## References

- <https://github.com/danny-avila/LibreChat/security/advisories/GHSA-w5r7-4f94-vp4c> (exploit, vendor-advisory)

## Sources

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

---

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