Description
LobeChat through 2.2.9 contains a broken access control vulnerability in the retrieval-augmented-generation semantic search functionality that allows authenticated attackers to access other users' data by exploiting missing user-identifier predicates in the chunk model semanticSearch method. Attackers can supply arbitrary victim file or knowledge-base identifiers through the chunk retrieval and chat knowledge-base paths to retrieve text content, file names, and metadata belonging to other users.
Published: 2026-07-02
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

LobeChat versions up to 2.2.9 contain a broken access control flaw in the retrieval-augmented-generation semantic search component. The flaw stems from missing user-identifier checks in the semanticSearch method, allowing an authenticated user to craft requests that target another user’s file or knowledge-base identifiers. As a result, attackers can retrieve text content, file names, and metadata belonging to other users, exposing sensitive information. This weakness is classified under CWE‑639, which highlights information disclosure caused by improper input validation and authorization.

Affected Systems

The affected product is LobeChat from lobehub, specifically versions 2.2.9 and earlier. Any installation that has not yet applied the patch in the commit referenced in the advisory is vulnerable.

Risk and Exploitability

Attacks require an authenticated session to LobeChat. The CVSS score of 7.1 indicates a high severity rating, but the EPSS score of less than 1% suggests a low likelihood of exploitation. The vulnerability is not listed in the catalog. Based on the description, it can be inferred that attackers can craft requests to the unscoped RAG semantic search endpoint, directly supplying arbitrary victim file or knowledge‑base identifiers to retrieve sensitive content. The flaw is classified as CWE‑639, reflecting improper access controls that expose confidential data.

Generated by OpenCVE AI on July 21, 2026 at 10:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the patch from the commit linked in the advisory to address the broken access control bug.
  • If an upgrade cannot be performed immediately, disable the unscoped RAG semantic search feature in the application configuration to block the attack vector.
  • Add an explicit user-identifier check before retrieving any document or file content, ensuring that the requested resources belong to the requesting user.

Generated by OpenCVE AI on July 21, 2026 at 10:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 14 Jul 2026 22:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:lobehub:lobehub:*:*:*:*:*:node.js:*:*

Mon, 06 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 02 Jul 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Lobehub
Lobehub lobehub
Vendors & Products Lobehub
Lobehub lobehub

Thu, 02 Jul 2026 20:15:00 +0000

Type Values Removed Values Added
Description LobeChat through 2.2.9 contains a broken access control vulnerability in the retrieval-augmented-generation semantic search functionality that allows authenticated attackers to access other users' data by exploiting missing user-identifier predicates in the chunk model semanticSearch method. Attackers can supply arbitrary victim file or knowledge-base identifiers through the chunk retrieval and chat knowledge-base paths to retrieve text content, file names, and metadata belonging to other users.
Title LobeChat 2.2.9 - Cross-User Document Disclosure via Unscoped RAG Semantic Search
Weaknesses CWE-639
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T22:03:24.480Z

Reserved: 2026-07-02T15:38:18.929Z

Link: CVE-2026-59098

cve-icon Vulnrichment

Updated: 2026-07-06T16:36:52.452Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T11:00:05Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key