CVE-2026-23522 Lobe Chat has IDOR in Knowledge Base File Removal that Allows Cross User File Deletion
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| lobehub @lobehub/chat(npm) | <= 1.143.2 | after 1.143.2 | Fixed |
| lobehub lobe-chat | = < 2.0.0-next.193 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| lobehub lobe-chat | = < 2.0.0-next.193 | No fix listed |
| lobehub @lobehub/chat(npm) | <= 1.143.2 | No fix listed |
References
- https://github.com/lobehub/lobe-chat/security/advisories/GHSA-j7xp-4mg9-x28r vendor-advisory
- https://github.com/lobehub/lobe-chat/commit/2c1762b85acb84467ed5e799afe1499cd2f912e6 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product