{"cve":"CVE-2026-23522","nvd":{"published":"2026-01-19T17:15:50.590","modified":"2026-06-17T10:21:43.300","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7},"cwes":["CWE-284","CWE-639","CWE-862","CWE-915"],"references":["https://github.com/lobehub/lobe-chat/commit/2c1762b85acb84467ed5e799afe1499cd2f912e6","https://github.com/lobehub/lobe-chat/security/advisories/GHSA-j7xp-4mg9-x28r"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:21:16.563232421+00:00"},"epss":{"cve":"CVE-2026-23522","score":0.00235,"percentile":0.14525,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-j7xp-4mg9-x28r","url":"https://osv.dev/vulnerability/GHSA-j7xp-4mg9-x28r","summary":"Lobe Chat has IDOR in Knowledge Base File Removal that Allows Cross User File Deletion","modified":"2026-02-03T03:02:00.664845Z","packages":[{"ecosystem":"npm","name":"@lobehub/chat","purl":"pkg:npm/%40lobehub/chat","ranges":["<=1.143.2"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}