LibreChat Server-Side Request Forgery Vulnerability in Actions Feature

Vulnerability

A server-side request forgery (SSRF) vulnerability has been identified in LibreChat versions prior to 0.8.1-rc2. The issue arises in the 'Actions' feature, where authenticated users can submit specially crafted OpenAPI specifications. The server fails to properly validate the domains of URLs specified in these OpenAPI specs, allowing users to access internal URLs only reachable by the LibreChat server, such as cloud metadata services. Exploiting this vulnerability could lead to unauthorized access to sensitive information, including local configuration and credentials from cloud services.

Impact

Exploitation of this vulnerability allows authenticated users to use the LibreChat server as a proxy to access arbitrary URLs. This could bypass firewall restrictions, access internal networks, and retrieve sensitive data from cloud metadata services, potentially leading to impersonation of the server.

Reproduction

To reproduce this vulnerability, an authenticated user can create an action in LibreChat by submitting an OpenAPI specification that includes a URL in the 'servers' list. The server will validate the 'domain' field but not the actual URL, allowing the user to access internal services through the LibreChat server.

Remediation

Users are advised to update LibreChat to version 0.8.1-rc2 or later, where this vulnerability has been patched.

Added: Nov 29, 2025, 2:17 AM
Updated: Nov 29, 2025, 2:17 AM

Vulnerability Rating

Custom Algorithm
spread
1.4
impact
2.5
exploitability
6.2
remediation
7.7
relevance
1.2
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.