CVE-2026-31943 LibreChat has SSRF protection bypass via IPv4-mapped IPv6 normalization in isPrivateIP
HighCVSS 8.5
EPSS 0.23%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- Cloud Platforms
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| LibreChat | < 0.8.3; = 0.8.3-rc1; = 0.8.3-rc2 | 0.8.3 | Fixed |
| danny-avila LibreChat | = < 0.8.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| danny-avila LibreChat | = < 0.8.3 | No fix listed |
| LibreChat | < 0.8.3 | 0.8.3 |
| LibreChat | = 0.8.3-rc1 | No fix listed |
| LibreChat | = 0.8.3-rc2 | No fix listed |
References
- https://github.com/danny-avila/LibreChat/security/advisories/GHSA-w5r7-4f94-vp4c exploit vendor-advisory