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

- Severity: Medium 6.0 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 10% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-02T19:39:19.653Z
- Modified: 2026-07-14T23:17:32.857Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- lobehub lobehub: up to 2.2.9

## Every score

- VulnCheck: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N`
- VulnCheck: CVSS:4.0 6.0 Medium `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`

## References

- <https://github.com/lobehub/lobehub/issues/16534> (exploit, issue-tracking)
- <https://www.vulncheck.com/advisories/lobechat-broken-object-level-authorization-in-message-sub-resource-writes> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-58580](https://www.cve.org/CVERecord?id=CVE-2026-58580), CVE Terms of Use, modified 2026-07-14
- NVD: [CVE-2026-58580](https://nvd.nist.gov/vuln/detail/CVE-2026-58580), Public domain, modified 2026-07-14

---

Page: https://cve.day/CVE-2026-58580 · Whole record: https://cve.day/CVE-2026-58580.json · Rebuilt by cve.day 2026-11-25T22:59:27.051Z
