LobeChat (LobeHub) 2.2.1 does not properly verify inbound chat-platform webhook signatures in the...
🔗 CVE IDs covered (1)
📋 Description
LobeChat (LobeHub) 2.2.1 does not properly verify inbound chat-platform webhook signatures in the QQ and Feishu adapters. The webhook route (/api/agent/webhooks/:platform) is unauthenticated by design and delegates verification to each adapter; the QQ adapter performs no Ed25519 signature verification on dispatched message events, and the Feishu adapter only performs an optional static-token comparison that is skipped when no token is configured (the default) and is not a body signature. An unauthenticated attacker who knows the public webhook URL can POST forged inbound messages with an attacker-chosen sender identity and arbitrary text, causing the bot owner's agent to process attacker-controlled input and treat the attacker as a trusted platform sender.
🔗 References (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-85621
- https://github.com/lobehub/lobehub/issues/16538
- https://github.com/lobehub/lobehub
- https://github.com/lobehub/lobehub/blob/v2.2.15/packages/chat-adapter-feishu/src/adapter.ts
- https://github.com/lobehub/lobehub/blob/v2.2.15/packages/chat-adapter-qq/src/adapter.ts
- https://www.vulncheck.com/advisories/lobechat-2.2.1-webhook-signature-verification-bypass-qq-feishu
- https://github.com/advisories/GHSA-627w-x4jq-g83v