What’s Vulnerable › Vulnerabilities
CVE-2026-58580: LobeChat 2.2.9 - Broken Object-Level Authorization in Message Sub-Resource Writes
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-02 · updated 2026-07-14
- Weakness: CWE-639
Description
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.
Affected products
- lobehub: through 2.2.9
References
- https://github.com/lobehub/lobehub/issues/16534
- https://www.vulncheck.com/advisories/lobechat-broken-object-level-authorization-in-message-sub-resource-writes
- https://github.com/lobehub/lobehub/issues/16534
Get alerted when CVE-2026-58580 or the next vulnerability affects your stack