Skip to content
OpenAdvisories
Medium · 5.0 CVE-2026-39411 EUVD-2026-20598GHSA-5mwj-v5jw-5c97

LobeHub has an unauthenticated authentication bypass on `webapi` routes via forgeable `X-lobe-chat-auth` header

Published Apr 8, 2026 · Updated Apr 8, 2026 · Assigned by GitHub_M

Description

LobeHub is a work-and-lifestyle space to find, build, and collaborate with agent teammates that grow with you. Prior to 2.1.48, the webapi authentication layer trusts a client-controlled X-lobe-chat-auth header that is only XOR-obfuscated, not signed or otherwise authenticated. Because the XOR key is hardcoded in the repository, an attacker can forge arbitrary auth payloads and bypass authentication on protected webapi routes. Affected routes include /webapi/chat/[provider], /webapi/models/[provider], /webapi/models/[provider]/pull, and /webapi/create-image/comfyui. This vulnerability is fixed in 2.1.48.

Affected products

VendorProductAffectedFixed
lobehub lobehub < 2.1.48 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @lobehub/lobehub < 2.1.48 2.1.48 GHSA-5mwj-v5jw-5c97

References