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

Medium 6.0 Published Updated

Authenticated users can modify or read other users' message metadata and content by exploiting missing user ID checks in message update methods.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-58580?

CVE-2026-58580 is a medium-severity missing authorization vulnerability in lobehub, published on 2 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-639

Which versions are affected by CVE-2026-58580?

How do I fix CVE-2026-58580?

No fix has been published for CVE-2026-58580 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-58580 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-58580 exists.

Sources

Also known as GHSA-vc6m-gvqm-4jf2.

Is CVE-2026-58580 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free