Vulnerability

CVE-2026-23522

lowCVSS 3.1 3.7Published 19 Jan 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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 products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /lobehub/lobe-chat/commit/2c1762b85acb84467ed5e799afe1499cd…
  • github.com /lobehub/lobe-chat/security/advisories/GHSA-j7xp-4mg9-x28r

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning