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

High 7.1 Published Updated

Authenticated attackers can cause denial of service in LobeChat by submitting malicious regex patterns in GitHub skill imports, blocking the Node.js event loop.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-58578?

CVE-2026-58578 is a high-severity denial of service vulnerability in lobehub, published on 2 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-1333

Which versions are affected by CVE-2026-58578?

How do I fix CVE-2026-58578?

No fix has been published for CVE-2026-58578 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-58578 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-58578 exists.

Sources

Also known as GHSA-g4jq-25cx-3cw5.

Is CVE-2026-58578 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free