CVE-2026-58580

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.
Configurations

No configuration.

History

06 Jul 2026, 17:16

Type Values Removed Values Added
References () https://github.com/lobehub/lobehub/issues/16534 - () https://github.com/lobehub/lobehub/issues/16534 -

02 Jul 2026, 20:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-02 20:17

Updated : 2026-07-14 23:17


NVD link : CVE-2026-58580

Mitre link : CVE-2026-58580

CVE.ORG link : CVE-2026-58580


JSON object : View

Products Affected

No product.

CWE
CWE-639

Authorization Bypass Through User-Controlled Key