CVE-2026-58580CWE-639

LobeChat 2.2.9 - Broken Object-Level Authorization in Message Sub-Resource Writes

Medium · published July 2, 2026

CVSS v4.0
6.0
EPSS
0%
Percentile
15.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.0 · MEDIUM
Vector
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
EPSS
0.00250 · 15.4th percentile
Weakness
CWE-639 · Authorization Bypass Through User-Controlled Key
Published
2026-07-02T19:39Z
EPSS history
Timeline
  • 02 JUL 19:39Z
    LobeChat 2.2.9 - Broken Object-Level Authorization in Message Sub-Resource Writes
    cvelistv5