p PatchFirst

CVE-2026-39411

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.0 · Medium · EPSS 0.1% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • lobehub

    Versions
    • < 2.1.48: Affected

    No fix published

  • @lobehub/lobehub npm

    Affected ranges
    • SEMVER: < 2.1.48

    Update to 2.1.48

Original sources

Check your server →