Skip to main content
← All vulnerabilities
CVE-2026-23522GHSA-J7XP-4MG9-X28R

Lobe Chat has IDOR in Knowledge Base File Removal that Allows Cross User File Deletion

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.0-next.193
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • lobehub lobe-chat

    fixed in 2.0.0-next.193

  • @lobehub/chatnpm

    through 1.143.2

References 2

GitHub · lobehub/lobe-chat