What’s Vulnerable › Vulnerabilities

CVE-2026-58578: LobeChat < 2.2.10-canary.15 - Regular Expression Denial of Service in GitHub Skill Import

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.

Affected products

How to fix

Upgrade to a fixed version: lobehub 2.2.10-canary.15. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-58578 or the next vulnerability affects your stack