CVE-2026-31943
JSON

8.5high

LibreChat has SSRF protection bypass via IPv4-mapped IPv6 normalization in isPrivateIP

Severity
8.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
danny-avila LibreChat< 0.8.3CVE List
librechat librechatbefore 0.8.3, 0.8.3NVD

Classification

CWE-918

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

LibreChat es un clon de ChatGPT con características adicionales. Antes de la versión 0.8.3, ’isPrivateIP()’ en ’packages/api/src/auth/domain.ts’ no detecta direcciones IPv6 mapeadas a IPv4 en su forma hexadecimal normalizada, permitiendo a cualquier usuario autenticado eludir la protección SSRF y hacer que el servidor emita solicitudes HTTP a recursos de red internos - incluyendo servicios de metadatos en la nube (p. ej., AWS ’169.254.169.254’), loopback y rangos RFC1918. La versión 0.8.3 corrige el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31943 changed 2026-03-31CVE Terms of Use
NVDCVE-2026-31943 changed 2026-10-26Public domain