Skip to main content

LobeChat CVE-2026-58578

| EUVDEUVD-2026-41420 HIGH
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2026-07-02 VulnCheck GHSA-g4jq-25cx-3cw5
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to LobeChat instance
  2. Delivery
    Submit crafted GitHub skill URL with malicious basePath
  3. Exploit
    Pattern injected into dynamic regex in findSkillMd
  4. Execution
    Synchronous match triggers catastrophic backtracking
  5. Persist
    Node.js event loop blocked for tens of seconds
  6. Impact
    Service denied to all concurrent users

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated LobeChat account (CVSS PR:L) with access to the GitHub skill-import feature; the attacker supplies a malicious basePath in the GitHub repository URL path containing unescaped regex metacharacters (catastrophic-backtracking patterns) that reach the dynamically constructed regular expression in findSkillMd. The specific trigger is the skill-import code path that compiles the URL-derived basePath into a regex and matches it synchronously against archive entries. Limiting factors: valid authentication is mandatory, the skill-import feature must be enabled/reachable for the account, and impact is confined to availability (no data disclosure or modification); on single-user self-hosted instances the practical blast radius is limited to the attacker's own service.

Impact

The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H) scores 7.1 and correctly isolates impact to availability only - no confidentiality or integrity loss. The PR:L requirement is the key limiter: exploitation needs a valid authenticated account and access to the skill-import feature, so this is not an anonymous internet-wide DoS. That said, network attack vector, low complexity, no user interaction, and publicly available exploit code make it a realistic and low-effort disruption for any tenant on a multi-user instance, since one request degrades service for everyone. No EPSS or KEV data was provided; absence of KEV means there is no confirmation of active exploitation, and the real-world priority is moderate - high for shared/multi-tenant LobeChat deployments, lower for single-user self-hosted instances where the attacker would only be harming themselves.

Exploit ScenarioDerived

An authenticated LobeChat user navigates to the skill-import feature and submits a crafted GitHub repository URL whose path contains a catastrophic-backtracking regex pattern as the basePath. When findSkillMd compiles and runs that pattern synchronously against archive entries, the Node.js event loop freezes for tens of seconds, making the application unresponsive for every other user; the attacker can repeat the request to sustain the outage. Public exploit code and a reproducing issue (issue #16494) are available, and the low attack complexity means no special tooling is required.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 02, 2026

Denial of service in LobeChat before 2.2.10-canary.15 lets an authenticated user hang the entire Node.js server by importing a GitHub-hosted skill whose repository URL path contains a catastrophic-backtracking regex pattern. Because the malicious basePath is compiled into a dynamic regular expression in findSkillMd and matched synchronously against archive entries, a single request blocks the shared event loop for tens of seconds, denying service to all concurrent users. Publicly available exploit code exists and a vendor patch is available, though there is no public exploit identified as being used in active exploitation.

RemediationAI

Vendor-released patch: upgrade to LobeChat 2.2.10-canary.15 or later (https://github.com/lobehub/lobehub/releases/tag/v2.2.10-canary.15); the code fix is in commit 349bbe326eb8635d6d9c6a96d12702681ae3a84a and PR https://github.com/lobehub/lobehub/pull/16548, which properly escapes the user-supplied basePath before regex construction. If you cannot upgrade immediately, restrict who can use the GitHub skill-import feature by limiting accounts to trusted users, or disable skill import entirely on shared multi-tenant instances - the trade-off is loss of GitHub skill-import functionality for all users. As a secondary control, place the instance behind rate limiting or a per-user request timeout so a single hanging request cannot be repeated to sustain the outage, accepting that a synchronous event-loop stall may still not be interrupted by request-level timeouts. Track details via the VulnCheck advisory and issue https://github.com/lobehub/lobehub/issues/16494.

Affected VersionsENISA

lobehub 0 <2.2.10-canary.15

Affected Packages

euvd lobehub fix: 2.2.10-canary.15

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

LobeChat (LobeHub) is a Node.js/TypeScript open-source AI chat framework that supports importing 'skills' from GitHub repositories. The affected code path constructs a regular expression at runtime by interpolating a user-controlled basePath (derived from the GitHub repository URL path) without escaping regex metacharacters, then evaluates it against archive entries in findSkillMd. This is a textbook CWE-1333 (Inefficient Regular Expression Complexity / ReDoS): an attacker-supplied pattern such as nested quantifiers causes catastrophic backtracking, and because the match runs synchronously on Node.js's single-threaded event loop, the whole process stalls rather than just the offending request. The single affected CPE is cpe:2.3:a:lobehub:lobehub:*:*:*:*:*:*:*:* (all versions prior to the fix).

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable skill import with low complexity but requires an authenticated account (PR:L); impact is a full event-loop stall so A:H, with no confidentiality or integrity effect.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Jul 02, 2026 - 20:22 NVD
MEDIUM HIGH
CVSS changed
Jul 02, 2026 - 20:22 NVD
6.5 (MEDIUM) 7.1 (HIGH)
CVE Published
Jul 02, 2026 - 19:38 cve.org
HIGH 7.1

DescriptionCVE.org

LobeChat before version 2.2.10-canary.15 contains a regular expression denial of service (ReDoS) vulnerability that allows authenticated attackers to block the Node.js event loop by supplying a catastrophic-backtracking pattern in a GitHub repository URL path during skill import. Attackers can craft a malicious basePath value containing unescaped regex metacharacters such as catastrophic-backtracking patterns, which are injected into a dynamically constructed regular expression in the findSkillMd function and executed synchronously against archive entries, denying service to all concurrent users for tens of seconds per request.

Executive ViewAI

Why It Matters

LobeChat versions before 2.2.10-canary.15 contain a denial-of-service vulnerability exploitable by authenticated users who import malicious skills from GitHub, causing the entire Node.js server to hang and denying service to all concurrent users. Organizations using LobeChat face potential business disruption if users are granted skill-import privileges. Immediate patching is required to restore service resilience.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Low
self-hosted open-source AI chat app, niche production footprint
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2013-4660 MEDIUM POC
6.8 Jun 28

The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, whic

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy