Skip to main content
← All vulnerabilities
CVE-2026-31943

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.8.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • danny-avila LibreChat

    fixed in 0.8.3

References 1

GitHub · danny-avila/LibreChat