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 through version 2.2.9 contains a broken access control flaw in its retrieval‑augmented‑generation semantic search functionality. The vulnerability arises from missing user‑identifier predicates in the chunk model’s semanticSearch method, enabling an authenticated attacker to craft requests that target other users’ file or knowledge‑base identifiers. As a result, the attacker can retrieve text content, file names, and metadata that belong to other users, exposing sensitive data.

Affected Systems

The affected product is LobeChat from lobehub. Versions up to and including 2.2.9 are impacted. Any deployment that has not applied the patch found in the commit referenced by the advisory remains vulnerable.

Risk and Exploitability

The CVSS score of 7.1 indicates high severity, while the EPSS score of less than 1% suggests the likelihood of exploitation is currently low. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated session; the attacker supplies victim identifiers through the chunk retrieval and chat knowledge‑base paths to obtain privileged data. The weakness is classified as CWE‑639, reflecting information disclosure caused by missing authorization checks.

Generated by OpenCVE AI on August 1, 2026 at 21:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the patch referenced in the advisory to add the missing user‑identifier checks and fix the broken access control.
  • If an immediate upgrade is not possible, disable the unscoped RAG semantic search feature in the application configuration to eliminate the attack surface.
  • Modify the application code to enforce explicit user‑identifier validation before any document or file content is retrieved, ensuring resource ownership is verified.

Generated by OpenCVE AI on August 1, 2026 at 21:08 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

Status : Deferred

Published: 2026-07-02T20:17:08.120

Modified: 2026-07-14T23:17:33.710

Link: CVE-2026-59098

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T21:15:04Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key