Command Injection Vulnerability in LibreChat by Danny Avila
CVE-2026-22252
9.1CRITICAL
What is CVE-2026-22252?
LibreChat, a clone of ChatGPT developed by Danny Avila, contains a security flaw in its MCP stdio transport prior to version 0.8.2-rc2 that allows unauthenticated users to execute arbitrary shell commands with root privileges inside the container through a single API request. This vulnerability poses significant risks as it does not validate commands entered by users, enabling potential exploitation. Users are strongly advised to update to version 0.8.2-rc2 or later, where this security issue has been patched.
Affected Version(s)
LibreChat < v0.8.2-rc2
