Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Network-reachable with low complexity, but needs an authenticated account (PR:L); SSRF pivots beyond the app (S:C) to disclose internal data (C:H), with no integrity or availability effect.
Primary rating from Vendor (GitHub_M).
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.4-rc1, LibreChat allows users to configure custom OpenAI-compatible API endpoints by setting a baseURL. This URL is used to construct HTTP requests without any SSRF validation - no private IP check, no scheme restriction, no DNS pinning. An authenticated user can set baseURL to internal network addresses. This vulnerability is fixed in 0.8.4-rc1.
AnalysisAI
Server-side request forgery in LibreChat before 0.8.4-rc1 lets any authenticated user point a custom OpenAI-compatible endpoint baseURL at internal network addresses, because the URL is used to build HTTP requests with no SSRF validation whatsoever - no private-IP blocking, no scheme restriction, and no DNS pinning. By abusing the legitimate custom-endpoint feature, a logged-in user can coerce the server into reaching internal-only services and returning their responses, with a CVSS 3.1 score of 7.7 driven by a changed scope and high confidentiality impact. There is no public exploit identified at time of analysis and the issue is not in CISA KEV, but the trivial low-complexity nature makes it readily exploitable once an account exists.
Technical ContextAI
LibreChat is a self-hosted, multi-provider ChatGPT-style web application that allows operators and users to register custom 'OpenAI-compatible' model providers. Each such provider is defined partly by a user-controllable baseURL that LibreChat uses as the destination for its outbound API calls. The flaw is a textbook CWE-918 Server-Side Request Forgery: the user-supplied baseURL flows directly into the HTTP client without an allowlist, private/loopback/link-local IP rejection, URL-scheme constraint, or DNS-rebinding protection, so the application's network position - not the user's - determines what can be reached. The affected component is the danny-avila/librechat application (cpe:2.3:a:danny-avila:librechat:*), and because the server typically sits inside a trusted network or cloud environment, requests it makes can hit cloud metadata endpoints (e.g. 169.254.169.254), internal admin panels, and other services unreachable from outside.
RemediationAI
Vendor-released patch: upgrade LibreChat to 0.8.4-rc1 or later, which adds the missing SSRF controls - this is the primary and recommended fix, per the advisory at https://github.com/danny-avila/LibreChat/security/advisories/GHSA-gc9r-88c3-7qhq. If immediate upgrading is not possible, reduce exposure by disabling or removing the user-configurable custom OpenAI-compatible endpoint feature so users cannot set arbitrary baseURL values (trade-off: legitimate custom providers stop working), and by restricting account creation - turn off open/self-service registration so only trusted users hold accounts (trade-off: higher onboarding friction). As a network compensating control, place the LibreChat server behind an egress filter or forward proxy that blocks outbound requests to RFC1918 ranges, loopback, link-local 169.254.0.0/16 (especially the cloud metadata endpoint 169.254.169.254), and non-HTTP(S) schemes (trade-off: may break legitimate internal or self-hosted model endpoints the deployment intentionally uses). On cloud hosts, additionally enforce IMDSv2 to blunt metadata theft.
A vulnerability in danny-avila/librechat version git 81f2936 allows for path traversal due to improper sanitization of f
An arbitrary file deletion vulnerability exists in danny-avila/librechat version v0.7.5-rc2, specifically within the /ap
LibreChat 0.8.1-rc2 has SSRF in the Actions feature that allows authenticated users to make the server perform requests
LibreChat before v0.8.2-rc2 allows any authenticated user to execute shell commands as root inside the container through
LibreChat is a ChatGPT clone with additional features. Rated high severity (CVSS 8.6), this vulnerability is remotely ex
In danny-avila/librechat version git 0c2a583, there is an improper input validation vulnerability. Rated high severity (
LibreChat is a ChatGPT clone with additional features. Version 0.8.1-rc2 does not enforce proper access control for file
An unhandled exception in the danny-avila/librechat repository, version git 600d217, can cause the server to crash, lead
An improper access control vulnerability (IDOR) exists in the delete attachments functionality of danny-avila/librechat
LibreChat through 0.7.4-rc1 does not validate the normalized pathnames of images. Rated critical severity (CVSS 9.8), th
LibreChat through 0.7.4-rc1 has incorrect access control for message updates. Rated critical severity (CVSS 9.8), this v
Information disclosure in LibreChat's Model Context Protocol (MCP) integration allows any authenticated user to exfiltra
Same weakness CWE-918 – Server-Side Request Forgery (SSRF)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-39460