SSRF in Danny-Avila Librechat
CVE-2026-31943
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N.
EPSS exploit prediction
EPSS 0.002, 13.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Danny-Avila Librechat — versions < 0.8.3
- Librechat — versions 0.8.3
Weakness classification (CWE)
References
- https://github.com/danny-avila/LibreChat/security/advisories/GHSA-w5r7-4f94-vp4c (Exploit, Vendor Advisory)