CVE-2026-23522
January 19, 2026
LobeChat is an open source chat application platform. Prior to version 2.0.0-next.193, "knowledgeBase.removeFilesFromKnowledgeBase" tRPC ep allows authenticated users to delete files from any knowledge base without verifying ownership. "userId" filter in the database query is commented out, so it's enabling attackers to delete other users' KB files if they know the knowledge base ID and file ID. While the vulnerability is confirmed, practical exploitation requires knowing target's KB ID and target's file ID. These IDs are random and not easily enumerable. However, IDs may leak through shared links, logs, referrer headers and so on. Missing authorization check is a critical security flaw regardless. Users should upgrade to version 2.0.0-next.193 to receive a patch.
Affected Packages
https://github.com/lobehub/lobe-chat.git (GITHUB):
Affected version(s) >=v2.0.0-next.0 <v2.0.0-next.193Fix Suggestion:
Update to version v2.0.0-next.193https://github.com/lobehub/lobe-chat.git (GITHUB):
Affected version(s) >=v1.0.0 <v1.147.0Fix Suggestion:
Update to version v1.147.0Related ResourcesĀ (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.05