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

26 Jun 2026, 19:02

Type Values Removed Values Added
First Time Librechat librechat
Librechat
CPE cpe:2.3:a:librechat:librechat:*:*:*:*:*:*:*:*
References () https://github.com/danny-avila/LibreChat/security/advisories/GHSA-c55r-p24w-hcj5 - () https://github.com/danny-avila/LibreChat/security/advisories/GHSA-c55r-p24w-hcj5 - Exploit, Vendor Advisory

26 Jun 2026, 16:16

Type Values Removed Values Added
References () https://github.com/danny-avila/LibreChat/security/advisories/GHSA-c55r-p24w-hcj5 - () https://github.com/danny-avila/LibreChat/security/advisories/GHSA-c55r-p24w-hcj5 -

25 Jun 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-25 17:16

Updated : 2026-06-26 19:02


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