Skip to main content

LobeChat EUVDEUVD-2026-41422

| CVE-2026-58580 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-07-02 VulnCheck GHSA-vc6m-gvqm-4jf2
6.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to shared LobeChat server-database instance
  2. Delivery
    Acquire victim's non-enumerable message ID via side-channel
  3. Exploit
    Craft tRPC request targeting affected method (e.g., updateTranslate)
  4. Execution
    Submit request referencing victim's message ID - userId check absent
  5. Persist
    Database record overwritten without owner validation
  6. Impact
    Poisoned content served to victim in their chat session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Exploitation requires three concurrent conditions: (1) the LobeChat deployment must be running in server-database mode - local single-user deployments are not affected; (2) the attacker must hold a valid authenticated session on the same instance, matching CVSS PR:L - unauthenticated external attackers cannot reach the tRPC procedures; and (3) the attacker must possess prior knowledge of the target victim's specific message identifier, which the vulnerability description explicitly characterizes as non-enumerable, ruling out brute-force or sequential enumeration as practical discovery vectors. Exploitation is further limited by the requirement that attacker and victim share the same LobeChat instance (no cross-instance impact). The attacker does NOT need elevated or administrative privileges - any registered user account on the instance is sufficient. The high attack complexity (CVSS AC:H) correctly encodes the message-ID-knowledge prerequisite as the primary exploitation barrier.

Impact

The CVSS 4.0 base score of 6.0 (Medium) is a reasonable reflection of the actual risk envelope. The High attack complexity (AC:H) is the dominant risk-reducing signal: exploitation is contingent on the attacker possessing the victim's message identifier, which LobeChat characterizes as non-enumerable, making opportunistic mass exploitation impractical. The PR:L metric confirms that only authenticated users on the same instance can exploit this flaw, significantly narrowing the realistic attacker population compared to an unauthenticated network attack. The VI:H (high integrity on the vulnerable system) is the most material risk signal - an attacker can silently poison the AI conversation data that the victim sees rendered, including tool-call outputs and translated content, without triggering any obvious alert. Confidentiality impact is limited (VC:L), confined to plugin data readable via findMessagePlugin for a caller who already knows the ID. No CISA KEV listing is present, and EPSS data was not provided in the available intelligence, so exploitation probability cannot be quantified from base rates. There is no confirmed POC. For single-tenant or low-trust-boundary deployments the real-world risk is further diminished; for multi-tenant instances serving users who do not fully trust one another, the integrity poisoning capability represents a meaningful threat despite the ID-knowledge prerequisite.

Exploit ScenarioDerived

An authenticated user on a shared LobeChat server-database instance acquires a co-user's message ID through interception of application traffic, a companion information-disclosure path, or targeted social engineering. The attacker calls the tRPC updateTranslate or updatePluginState procedure with the victim's message ID and adversarially crafted payload content, bypassing the missing userId authorization check, and the victim subsequently receives the poisoned translation or plugin state in their chat interface as if it were their own conversation data. No public exploit code has been identified; the non-enumerable message ID requirement elevates the practical difficulty above opportunistic mass exploitation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 02, 2026

Broken object-level authorization in LobeChat server-database deployments through version 2.2.9 enables any authenticated user to overwrite another user's message sub-resources - including plugin tool-call metadata, plugin state and error fields, text-to-speech records, and translation records - by submitting tRPC API requests that reference the victim's message identifier. Five MessageModel write methods (updateMessagePlugin, updatePluginState, updatePluginError, updateTTS, updateTranslate) and one read method (findMessagePlugin) filter database rows by message ID alone, silently omitting the userId scope enforced in all sibling methods, causing the tampered content to be served back to the victim as their own data. No public exploit has been identified at time of analysis, and practical exploitation is gated by the requirement to possess a victim's non-enumerable message identifier.

RemediationAI

No vendor-released patched version is independently confirmed from the available references - the GitHub issue tracker entry and VulnCheck advisory disclose the flaw but do not reference a tagged fixed release. Monitor the LobeChat GitHub repository and the disclosure issue at https://github.com/lobehub/lobehub/issues/16534 for a confirmed patch version and upgrade immediately upon availability. As a compensating control prior to patching, restrict server-database LobeChat instance registration and access to a fully trusted, closed user population (e.g., require corporate SSO or VPN access to the instance), which directly reduces the pool of authenticated users who could obtain a victim's message ID and exploit the missing userId scope. Exposing the instance to untrusted or public user bases should be avoided until the authorization flaw is resolved. Network-perimeter controls that prevent unauthenticated external access to the tRPC endpoints add defense-in-depth but do not address the authenticated cross-user exploitation path.

Affected VersionsENISA

lobehub 0 ≤2.2.9

Affected Packages

euvd lobehub no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

LobeChat is an open-source, self-hosted AI chat application that exposes its backend logic through a tRPC API layer backed by a relational database in server-database deployment mode. The affected component is the MessageModel data access layer, which manages per-message metadata records for AI conversation features including plugin invocations (tool calls), plugin state, error details, text-to-speech content, and translations. CWE-639 (Authorization Through User-Controlled Key) describes the pattern precisely: the application uses a caller-supplied object identifier (the message ID) to locate and mutate a database record without verifying that the requesting user is the record's owner. The flaw is architectural - sibling MessageModel methods do include a userId predicate in their WHERE clauses, but the five write methods and one read method implicated in this CVE omit it, making the message ID alone sufficient to address and modify any user's records on the same instance. Affected product per CPE is cpe:2.3:a:lobehub:lobehub:*:*:*:*:*:*:*:*, scoped to server-database deployments only.

Know when Lobehub gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.0 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

Network-reachable tRPC endpoint requires low-privilege authentication and knowledge of a non-enumerable ID (AC:H/PR:L); integrity fully compromised for victim's records; confidentiality limited to plugin read-back; no availability impact.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jul 02, 2026 - 20:22 NVD
5.9 (MEDIUM) 6.0 (MEDIUM)

DescriptionCVE.org

LobeChat through 2.2.9 server-database deployments are vulnerable to broken object-level authorization in MessageModel. The updateMessagePlugin, updatePluginState, updatePluginError, updateTTS and updateTranslate methods filter target rows by message id alone, omitting the userId scope that sibling methods apply, and findMessagePlugin reads back by id alone. Reachable via the corresponding tRPC message procedures, an authenticated user who knows another user's message identifier can overwrite that victim's plugin tool-call metadata, plugin state/error, text-to-speech and translation records on the same instance, and the tampered content is served back to the victim. Exploitation requires knowledge of the victim's non-enumerable message identifier.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Medium
popular self-hosted open-source AI chat interface
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2024-32964 CRITICAL POC
9.0 May 14

Lobe Chat is a chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system.

CVE-2024-47066 HIGH POC
8.8 Sep 23

Lobe Chat is an open-source artificial intelligence chat framework. Rated high severity (CVSS 8.8), this vulnerability i

CVE-2024-32965 HIGH POC
8.6 Nov 26

Lobe Chat is an open-source, AI chat framework. Rated high severity (CVSS 8.6), this vulnerability is remotely exploitab

CVE-2026-59095 HIGH POC
8.3 Jul 02

Server-side request forgery in LobeChat before 2.2.10-canary.18 lets authenticated users coerce the server into issuing

CVE-2026-58578 HIGH POC
7.1 Jul 02

Denial of service in LobeChat before 2.2.10-canary.15 lets an authenticated user hang the entire Node.js server by impor

CVE-2026-59098 HIGH POC
7.1 Jul 02

Cross-user data disclosure in LobeChat through version 2.2.9 allows any authenticated user to read other users' document

CVE-2024-37895 MEDIUM POC
5.7 Jun 17

Lobe Chat is an open-source LLMs/AI chat framework. Rated medium severity (CVSS 5.7), this vulnerability is remotely exp

CVE-2024-24566 MEDIUM POC
5.3 Jan 31

Lobe Chat is a chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system.

CVE-2026-120315 HIGH
8.7 Nov 02

Path traversal in LobeHub Chat (npm @lobehub/chat, versions 1.84.26 through 2.1.48) lets any authenticated user write ar

CVE-2025-59426 MEDIUM POC
4.3 Sep 25

Lobe Chat is an open-source artificial intelligence chat framework. Rated medium severity (CVSS 4.3), this vulnerability

CVE-2026-72594 HIGH
7.6 Aug 10

Stored XSS in lobehub/lobe-chat through v2.2.13 allows a low-privileged authenticated user to persist malicious JavaScri

CVE-2026-85621 MEDIUM
6.9 Sep 04

Webhook signature verification bypass in LobeChat 2.2.1 allows unauthenticated remote attackers to inject forged inbound

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy