{"id":"CVE-2026-31943","state":"PUBLISHED","title":"LibreChat has SSRF protection bypass via IPv4-mapped IPv6 normalization in isPrivateIP","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.","publishedAt":"2026-03-27T19:21:50.653Z","updatedAt":"2026-03-31T19:10:14.342Z","severity":{"score":8.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["danny-avila LibreChat"],"affected":[{"vendor":"danny-avila","product":"LibreChat","versions":[{"version":"< 0.8.3","status":"affected"}]}],"references":["https://github.com/danny-avila/LibreChat/security/advisories/GHSA-w5r7-4f94-vp4c"],"weaknesses":["CWE-918"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/31xxx/CVE-2026-31943.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-31943","state":"PUBLISHED","datePublished":"2026-03-27T19:21:50.653Z","dateUpdated":"2026-03-31T19:10:14.342Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-10T15:10:10.656Z"},"containers":{"cna":{"title":"LibreChat has SSRF protection bypass via IPv4-mapped IPv6 normalization in isPrivateIP","descriptions":[{"lang":"en","value":"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":[{"vendor":"danny-avila","product":"LibreChat","versions":[{"version":"< 0.8.3","status":"affected"}]}],"references":[{"url":"https://github.com/danny-avila/LibreChat/security/advisories/GHSA-w5r7-4f94-vp4c","name":"https://github.com/danny-avila/LibreChat/security/advisories/GHSA-w5r7-4f94-vp4c","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","lang":"en","description":"CWE-918: Server-Side Request Forgery (SSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-27T19:21:50.653Z"},"source":{"advisory":"GHSA-w5r7-4f94-vp4c","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/danny-avila/LibreChat/security/advisories/GHSA-w5r7-4f94-vp4c","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-31T18:38:43.982569Z","id":"CVE-2026-31943","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-31T19:10:14.342Z"}}]}}}