CVE-2026-54027: CWE-862: Missing Authorization in danny-avila LibreChat
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.
AI Analysis
Technical Summary
CVE-2026-54027 is a missing authorization vulnerability (CWE-862) in danny-avila's LibreChat product. Specifically, before version 0.8.4-rc1, the POST /api/files/images endpoint permits authenticated users to upload files into any agent's tool_resources without verifying if the user has ownership or edit permissions on the target agent. Although a permission check was implemented on the POST /api/files endpoint in a prior patch, the image upload endpoint was not updated accordingly, allowing attackers to bypass authorization by using the image upload route. This vulnerability was addressed and fixed in version 0.8.4-rc1.
Potential Impact
An authenticated user can upload files to any agent's tool_resources without proper authorization, potentially leading to unauthorized modification of agent resources. This could impact the integrity of the system by allowing unauthorized users to inject or alter data within agents' contexts or code execution resources. The vulnerability does not affect confidentiality or availability according to the CVSS vector, but it has a medium severity due to the integrity impact.
Mitigation Recommendations
Upgrade to LibreChat version 0.8.4-rc1 or later, where this missing authorization vulnerability in the POST /api/files/images endpoint has been fixed. There is no indication of alternative mitigations or temporary workarounds. Patch status is not explicitly stated but the fix is confirmed in version 0.8.4-rc1.
CVE-2026-54027: CWE-862: Missing Authorization in danny-avila LibreChat
Description
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.
CVSS v3.1
Score 6.5medium
Affected software
pkg:github/danny-avila/LibreChatRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-54027 is a missing authorization vulnerability (CWE-862) in danny-avila's LibreChat product. Specifically, before version 0.8.4-rc1, the POST /api/files/images endpoint permits authenticated users to upload files into any agent's tool_resources without verifying if the user has ownership or edit permissions on the target agent. Although a permission check was implemented on the POST /api/files endpoint in a prior patch, the image upload endpoint was not updated accordingly, allowing attackers to bypass authorization by using the image upload route. This vulnerability was addressed and fixed in version 0.8.4-rc1.
Potential Impact
An authenticated user can upload files to any agent's tool_resources without proper authorization, potentially leading to unauthorized modification of agent resources. This could impact the integrity of the system by allowing unauthorized users to inject or alter data within agents' contexts or code execution resources. The vulnerability does not affect confidentiality or availability according to the CVSS vector, but it has a medium severity due to the integrity impact.
Mitigation Recommendations
Upgrade to LibreChat version 0.8.4-rc1 or later, where this missing authorization vulnerability in the POST /api/files/images endpoint has been fixed. There is no indication of alternative mitigations or temporary workarounds. Patch status is not explicitly stated but the fix is confirmed in version 0.8.4-rc1.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-11T16:57:50.018Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3d5b504853345fc1337283
Added to database: 06/25/2026, 16:46:08 UTC
Last enriched: 07/02/2026, 22:38:12 UTC
Last updated: 08/08/2026, 12:41:11 UTC
Views: 66
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.