Description
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.
Published: 2026-07-02
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

LobeChat, a Node.js application, contains a regular‑expression denial‑of‑service flaw before version 2.2.10‑canary.15. An authenticated user can craft a GitHub repository URL path that includes a catastrophic‑backtracking regex pattern. The application interpolates the unvalidated basePath into a dynamically constructed regular input triggers excessive backtracking, the for tens of seconds, temporarily denying service to all concurrent users.

Affected Systems

The affected product is LobeChat from lobehub. All releases prior to 2.2.10‑canary.15 are vulnerable. The vulnerability is triggered during the skill import process when a GitHub repository URL is supplied with a malicious basePath.

Risk and Exploitability

The CVSS score of 7.1 classifies the issue as high severity, while the EPSS score of <1% indicates a low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. An attacker must be authenticated to LobeChat and perform a skill import, then supply a malicious GitHub repository path containing a catastrophic‑backtracking pattern. The exploit causes the server to execute a long, CPU‑bound regex match, halting the event loop and affecting all active sessions. While the description does not explicitly state that the attack can be repeated to maintain denial of service, based on the nature of the flaw it is inferred that multiple imports could be performed to sustain the impact.

Generated by OpenCVE AI on July 24, 2026 at 11:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade LobeChat to version 2.2.10‑canary.15 or later, where the basePath input is sanitized before regex construction.
  • If an upgrade cannot be performed immediately, restrict skill imports to a whitelist of trusted GitHub URLs and reject or escape basePath strings that contain regex metacharacters capable of triggering backtracking.
  • Implement runtime safeguards such as a timeout for regex operations, use a safer regular‑expression library, or limit CPU usage per request to prevent the event loop from being blocked.

Generated by OpenCVE AI on July 24, 2026 at 11:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 07 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 02 Jul 2026 20:15:00 +0000

Type Values Removed Values Added
Description 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.
Title LobeChat < 2.2.10-canary.15 - Regular Expression Denial of Service in GitHub Skill Import
First Time appeared Lobehub
Lobehub lobehub
Weaknesses CWE-1333
CPEs cpe:2.3:a:lobehub:lobehub:*:*:*:*:*:node.js:*:*
Vendors & Products Lobehub
Lobehub lobehub
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 7.1, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T22:03:18.391Z

Reserved: 2026-07-01T15:00:11.163Z

Link: CVE-2026-58578

cve-icon Vulnrichment

Updated: 2026-07-06T19:00:18.786Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-24T11:30:05Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity