CVE-2026-58580 PUBLISHED

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

Assigner: VulnCheck
Reserved: 01.07.2026 Published: 02.07.2026 Updated: 02.07.2026

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.

Metrics

CVSS 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
CVSS Score: 6

Product Status

Vendor lobehub
Product lobehub
Versions Default: unaffected
  • affected from 0 to 2.2.9 (incl.)

Credits

  • George Chen finder

References

Problem Types

  • Authorization Bypass Through User-Controlled Key CWE