CVE-2026-54033
Undergoing Analysis Undergoing Analysis - In Progress
SSRF via Unrestricted BaseURL in LibreChat

Publication date: 2026-06-25

Last updated on: 2026-06-25

Assigner: GitHub, Inc.

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-25
Last Modified
2026-06-25
Generated
2026-06-26
AI Q&A
2026-06-25
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
librechat librechat to 0.8.4-rc1 (exc)
danny_avila librechat to 0.8.4-rc1 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-918 The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in LibreChat versions prior to 0.8.4-rc1, where users can configure custom OpenAI-compatible API endpoints by setting a baseURL. The application uses this baseURL to construct HTTP requests without performing any Server-Side Request Forgery (SSRF) validation. Specifically, there are no checks for private IP addresses, no restrictions on the URL scheme, and no DNS pinning. As a result, an authenticated user can set the baseURL to internal network addresses, potentially allowing unauthorized access to internal resources.

Impact Analysis

The vulnerability can allow an authenticated user to perform SSRF attacks by setting the baseURL to internal network addresses. This can lead to unauthorized access to internal systems or services that are not intended to be exposed externally. Since the vulnerability has a high confidentiality impact (C:H) and a CVSS base score of 7.7, it indicates a significant risk of sensitive information disclosure within the internal network.

Compliance Impact

The vulnerability allows an authenticated attacker to perform Server-Side Request Forgery (SSRF) to internal network addresses, potentially leading to unauthorized access to cloud metadata, internal services, and credentials.

Such unauthorized access and potential data breaches could impact compliance with standards and regulations like GDPR and HIPAA, which require protection of sensitive data and prevention of unauthorized access.

However, the provided information does not explicitly discuss compliance impacts or specific regulatory consequences.

Detection Guidance

This vulnerability can be detected by monitoring and analyzing the configuration of the LibreChat application, specifically looking for user-configured custom API endpoints (baseURL) that point to internal network addresses without proper SSRF validation.

Since the vulnerability involves SSRF through the baseURL setting, detection can involve checking the baseURL values for suspicious internal IP addresses or non-HTTPS schemes.

On the network level, detection can involve monitoring outgoing HTTP requests from the LibreChat server to internal IP ranges or unusual endpoints.

  • Check the LibreChat configuration or database for baseURL values pointing to private IP ranges (e.g., 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16).
  • Use network monitoring tools like tcpdump or Wireshark to capture outgoing HTTP requests from the LibreChat server and filter for requests to internal IP addresses.
  • Example tcpdump command to capture HTTP traffic to private IP ranges: sudo tcpdump -i any tcp port 80 and dst net 10.0.0.0/8 or dst net 172.16.0.0/12 or dst net 192.168.0.0/16
  • Use curl or similar tools to test the baseURL endpoint configured in LibreChat to see if it allows access to internal services.
Mitigation Strategies

To mitigate this vulnerability, upgrade LibreChat to version 0.8.4-rc1 or later, where the issue is fixed.

Avoid allowing authenticated users to configure custom OpenAI-compatible API endpoints with arbitrary baseURL values, especially those pointing to internal network addresses.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-54033. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart