Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-54027: CWE-862: Missing Authorization in danny-avila LibreChat

0
Medium
VulnerabilityCVE-2026-54027cvecve-2026-54027cwe-862
Published: 06/25/2026 (06/25/2026, 15:52:02 UTC)
Source: CVE Database V5
Vendor/Project: danny-avila
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected software

GitHub Actionsmore threats →ai
danny-avila/LibreChat
pkg:github/danny-avila/LibreChat
Affected versions
=0.8.4-rc1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/25/2026, 17:02:29 UTC

Technical Analysis

CVE-2026-54027 is a missing authorization vulnerability (CWE-862) in danny-avila's LibreChat. Specifically, before version 0.8.4-rc1, the POST /api/files/images endpoint does not verify whether the authenticated user has ownership or edit permissions on the target agent's tool_resources, allowing unauthorized file uploads. Although a permission check was implemented on the POST /api/files route, the image upload endpoint was overlooked, enabling attackers to bypass authorization by using the image endpoint instead. The vulnerability is addressed in version 0.8.4-rc1.

Potential Impact

An attacker with authenticated access can upload files to any agent's tool_resources without proper authorization, potentially modifying or injecting malicious content into the agent's context or code execution environment. This could lead to unauthorized manipulation of agent behavior or other integrity impacts. Confidentiality and availability are not affected according to the CVSS vector.

Mitigation Recommendations

This vulnerability is fixed in LibreChat version 0.8.4-rc1. Users should upgrade to version 0.8.4-rc1 or later to ensure the authorization checks are properly enforced on the image upload endpoint. No other mitigation steps are indicated in the vendor data.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 06/25/2026, 17:02:29 UTC

Last updated: 06/26/2026, 00:42:45 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses