User Impersonation Affecting @lobehub/cli package, versions <0.0.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.03% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-LOBEHUBCLI-16419536
  • published5 May 2026
  • disclosed8 Apr 2026
  • credit13ernkastel

Introduced: 8 Apr 2026

CVE-2026-39411  (opens in a new tab)
CWE-290  (opens in a new tab)

How to fix?

Upgrade @lobehub/cli to version 0.0.4 or higher.

Overview

@lobehub/cli is a LobeHub command-line interface.

Affected versions of this package are vulnerable to User Impersonation via the X-lobe-chat-auth header on webapi routes. An attacker can gain unauthorized access to protected API endpoints and perform actions as an authenticated user by crafting a forged header using a hardcoded XOR key to bypass authentication checks. This allows access to sensitive operations, including impersonating users and utilizing backend model provider credentials.

CVSS Base Scores

version 4.0
version 3.1