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.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 3
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Librechat Librechat
cpe:2.3:a:librechat:librechat:*:*:*:*:*:*:*:*
|
— |
0.8.3
|
|
Librechat Librechat
cpe:2.3:a:librechat:librechat:0.8.3:rc1:*:*:*:*:*:*
|
— | — |
|
Librechat Librechat
cpe:2.3:a:librechat:librechat:0.8.3:rc2:*:*:*:*:*:*
|
— | — |