Ameeba Security Research

Defensive CVE and exploit intelligence

Ameeba Blog Search
TRENDING · 1 WEEK
Attack Vector
Vendor
Severity

CVE-2025-54868: Unprotected Endpoint in LibreChat Potentially Exposes User Chats

Overview

The vulnerability in focus, CVE-2025-54868, targets LibreChat, a popular ChatGPT clone. The issue lies within an unprotected testing endpoint that could potentially expose the chats of arbitrary users to malicious parties. Given the widespread use of LibreChat, this vulnerability can have grave consequences, warranting immediate attention and remediation.

Vulnerability Summary

CVE ID: CVE-2025-54868
Severity: High (7.5 CVSS Score)
Attack Vector: Network
Privileges Required: None
User Interaction: None
Impact: Unauthorized access to user chats could lead to system compromise and data leakage

Affected Products

Ameeba Chat Icon Share secrets securely

Ameeba is private infrastructure for communication and sensitive work built on encrypted identity instead of exposed corporate identity systems.

Passwords, credentials, confidential files, screenshots, internal discussions, sensitive AI context, and private coordination should not become exposed across ordinary communication platforms.

  • • Encrypted identity
  • • Private Spaces for organizations and teams
  • • End-to-end encrypted chat, calls, files, and notes
  • • Sensitive AI work and protected collaboration
  • • Built for information that cannot leak

Our mission is to secure human work alongside AI.

Product | Affected Versions

LibreChat | 0.0.6 to 0.7.7-rc1

How the Exploit Works

The exploit takes advantage of the endpoint /api/search/test in LibreChat, which allows direct access to stored chats in the Meilisearch engine without the requirement of proper access control. By sending a crafted HTTP request to the exposed endpoint, an attacker can read arbitrary chats from the system, thereby breaching user privacy and potentially gaining sensitive information.

Conceptual Example Code

Below is a conceptual HTTP request an attacker might use to exploit this vulnerability:

GET /api/search/test?query=<user_id> HTTP/1.1
Host: target.librechat.com

In this example, `` would be replaced with the ID of the target user. Successful exploitation could allow the attacker to read the chat history of the specified user. Note: this is a simplified and conceptual example; actual exploitation would likely involve further complexities.

Want to discuss this further? Join the Ameeba Cybersecurity Group Chat.

Disclaimer:

The information and code presented in this article are provided for educational and defensive cybersecurity purposes only. Any conceptual or pseudocode examples are simplified representations intended to raise awareness and promote secure development and system configuration practices.

Do not use this information to attempt unauthorized access or exploit vulnerabilities on systems that you do not own or have explicit permission to test.

Ameeba and its authors do not endorse or condone malicious behavior and are not responsible for misuse of the content. Always follow ethical hacking guidelines, responsible disclosure practices, and local laws.
Ameeba Chat