Command Injection Affecting @lobehub/lobehub package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th 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 Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-LOBEHUBLOBEHUB-16636312
  • published11 May 2026
  • disclosed5 May 2026
  • creditHpd0ger

Introduced: 5 May 2026

NewCVE-2026-42045  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

@lobehub/lobehub is a LobeHub - an open-source,comprehensive AI Agent framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.

Affected versions of this package are vulnerable to Command Injection in the message rendering process when handling custom tags in the Renderer component. An attacker can execute arbitrary system commands with the privileges of the current user by inducing the application to process malicious content that triggers the exposed runCommand IPC interface via a crafted LLM provider endpoint.

CVSS Base Scores

version 4.0
version 3.1