CVE Catalog

CVE-2026-58578

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.31%

22th percentile - higher than 22% of all known CVEs

Summary

LobeChat before version 2.2.10-canary.15 contains a regular expression denial of service (ReDoS) vulnerability. An authenticated attacker can block the Node.js event loop by supplying a catastrophic-backtracking pattern in a GitHub repository URL path during skill import. The attacker crafts a malicious basePath value containing unescaped regex metacharacters, 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.

Risk Assessment

The risk is that an authenticated user can perform a DoS attack, potentially causing temporary unavailability of the application for all users. The attack only requires providing a specially crafted repository URL, which is relatively easy to execute.

Recommendation

Immediately update LobeChat to version 2.2.10-canary.15 or later. Additionally, consider implementing restrictions on the length and content of imported skill URL paths and applying timeouts for regular expression operations.

Other vulnerabilities in LobeChat

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS