CVE-2026-31943: CWE-918: Server-Side Request Forgery (SSRF) in danny-avila LibreChat
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.
AI Analysis
Technical Summary
LibreChat versions before 0.8.3 contain an SSRF vulnerability due to improper detection of IPv4-mapped IPv6 addresses by the isPrivateIP() function in the authentication domain code. This flaw allows authenticated users to circumvent SSRF protections and make the server issue HTTP requests to internal network addresses, including cloud metadata endpoints and private IP ranges. The vulnerability is tracked as CVE-2026-31943 with a high CVSS score of 8.5. The issue is resolved in LibreChat version 0.8.3.
Potential Impact
Exploitation of this vulnerability allows an authenticated user to make the LibreChat server perform HTTP requests to internal network resources that are normally inaccessible externally. This includes access to cloud metadata services (e.g., AWS 169.254.169.254), loopback interfaces, and RFC1918 private IP ranges. Such access can lead to unauthorized information disclosure, including sensitive cloud instance metadata, which may contain credentials or configuration data. The integrity impact is limited (low), and availability is not affected.
Mitigation Recommendations
A patch is available in LibreChat version 0.8.3 that fixes the SSRF vulnerability by correctly detecting IPv4-mapped IPv6 addresses. Users should upgrade to version 0.8.3 or later to remediate this issue. There is no indication that temporary mitigations or workarounds are provided by the vendor. Since this is not a cloud-hosted service, remediation depends on applying the official fix.
CVE-2026-31943: CWE-918: Server-Side Request Forgery (SSRF) in danny-avila LibreChat
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
LibreChat versions before 0.8.3 contain an SSRF vulnerability due to improper detection of IPv4-mapped IPv6 addresses by the isPrivateIP() function in the authentication domain code. This flaw allows authenticated users to circumvent SSRF protections and make the server issue HTTP requests to internal network addresses, including cloud metadata endpoints and private IP ranges. The vulnerability is tracked as CVE-2026-31943 with a high CVSS score of 8.5. The issue is resolved in LibreChat version 0.8.3.
Potential Impact
Exploitation of this vulnerability allows an authenticated user to make the LibreChat server perform HTTP requests to internal network resources that are normally inaccessible externally. This includes access to cloud metadata services (e.g., AWS 169.254.169.254), loopback interfaces, and RFC1918 private IP ranges. Such access can lead to unauthorized information disclosure, including sensitive cloud instance metadata, which may contain credentials or configuration data. The integrity impact is limited (low), and availability is not affected.
Mitigation Recommendations
A patch is available in LibreChat version 0.8.3 that fixes the SSRF vulnerability by correctly detecting IPv4-mapped IPv6 addresses. Users should upgrade to version 0.8.3 or later to remediate this issue. There is no indication that temporary mitigations or workarounds are provided by the vendor. Since this is not a cloud-hosted service, remediation depends on applying the official fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-10T15:10:10.656Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69c6de373c064ed76fea1d62
Added to database: 3/27/2026, 7:44:55 PM
Last enriched: 4/4/2026, 10:50:17 AM
Last updated: 5/11/2026, 5:31:32 AM
Views: 37
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.