p PatchFirst

CVE-2026-23522

CVE-2026-23522 · Lobe Chat has IDOR in Knowledge Base File Removal that Allows Cross User File Deletion

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 3.7 · Faible · EPSS 0,2%

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • lobe-chat

    Versions du logiciel
    • < 2.0.0-next.193: Concernée

    Aucun correctif publié

  • @lobehub/chat npm

    Plages de versions concernées
    • SEMVER: ≤ 1.143.2

    Aucun correctif publié

Sources originales

Vérifiez votre serveur →