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-based conversational AI application, contains a regular expression denial-of-service flaw before version 2.2.10-canary.15. An authenticated attacker can embed a catastrophic-backtracking regular-expression pattern in a GitHub repository URL path. When the application builds a dynamic regex from the unvalidated basePath, the pattern causes the regex engine to perform exponential backtracking, blocking the Node.js event loop. This results in a temporary denial of service that impacts all concurrent users for several seconds per request.

Affected Systems

All releases of LobeChat from lobehub built before 2.2.10-canary.15 are vulnerable. The issue is triggered during the import of a GitHub skill when an attacker supplies a malicious repository URL. LobeChat is a Node.js-based conversational AI application developed by lobehub.

Risk and Exploitability

With a CVSS score of 7.1 the issue is rated high severity. The EPSS score of less than 1% indicates a low likelihood of real-world exploitation at present, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires the attacker to be authenticated to LobeChat and to trigger a skill import with a specially crafted GitHub URL that contains a backtracking pattern. The attack is performed synchronously and can be repeated to sustain a denial of service, though the description does not explicitly confirm repeatability.

Generated by OpenCVE AI on August 3, 2026 at 05:34 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade LobeChat to version 2.2.10-canary.15 or later to apply the input sanitization fix.
  • If an upgrade cannot be performed immediately, restrict skill imports to a validated whitelist of trusted GitHub domains and reject or escape basePath strings containing regex metacharacters.
  • 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 August 3, 2026 at 05:34 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

Status : Deferred

Published: 2026-07-02T20:17:06.870

Modified: 2026-07-14T23:17:32.610

Link: CVE-2026-58578

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T05:45:03Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity