CVE-2026-54027

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.4-rc1, the POST /api/files/images endpoint allows any authenticated user to upload files into any agent's tool_resources (e.g., context, execute_code) without verifying ownership or EDIT permission on the target agent. A permission check was added to the POST /api/files route in a previous patch, but the image upload route was never updated with the same check. An attacker can simply use the image endpoint instead of the file endpoint to bypass the authorization entirely. This vulnerability is fixed in 0.8.4-rc1.
Configurations

Configuration 1 (hide)

cpe:2.3:a:librechat:librechat:*:*:*:*:*:*:*:*

History

25 Oct 2026, 22:10

Type Values Removed Values Added
Summary
  • (es) LibreChat es un clon mejorado de ChatGPT que soporta múltiples proveedores de IA. Antes de 0.8.4-rc1, el endpoint POST /api/files/images permite a cualquier usuario autenticado subir archivos a los tool_resources de cualquier agente (por ejemplo, context, execute_code) sin verificar la propiedad o el permiso de EDICIÓN en el agente objetivo. Se añadió una verificación de permisos a la ruta POST /api/files en un parche anterior, pero la ruta de subida de imágenes nunca se actualizó con la misma verificación. Un atacante puede simplemente usar el endpoint de imágenes en lugar del endpoint de archivos para eludir la autorización por completo. Esta vulnerabilidad está corregida en 0.8.4-rc1.

Information

Published : 2026-06-25 17:16

Updated : 2026-10-25 22:10


NVD link : CVE-2026-54027

Mitre link : CVE-2026-54027

CVE.ORG link : CVE-2026-54027


JSON object : View

Products Affected

librechat

  • librechat
CWE
CWE-862

Missing Authorization