Lobehub: LobeChat before version 2.2.10-canary.15 contains a regular expression denial of service (ReDoS) vulnerability that allows authenticated attackers… (CVE-2026-58578)
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.
AI Analysis
Technical Summary
The vulnerability in LobeChat prior to version 2.2.10-canary.15 arises from unsafe handling of user-supplied basePath values containing unescaped regex metacharacters. These values are injected into a dynamically constructed regular expression within the findSkillMd function and executed synchronously against archive entries. This leads to catastrophic backtracking, causing the Node.js event loop to block and resulting in a denial of service condition affecting all concurrent users. Exploitation requires authentication and involves crafting a malicious GitHub repository URL path during skill import.
Potential Impact
An authenticated attacker can cause a denial of service by blocking the Node.js event loop for tens of seconds per request, effectively disrupting service availability for all users during the attack window.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid importing skills from untrusted GitHub repository URLs or restrict authenticated user input to prevent injection of unescaped regex metacharacters in the basePath parameter.
Lobehub: LobeChat before version 2.2.10-canary.15 contains a regular expression denial of service (ReDoS) vulnerability that allows authenticated attackers… (CVE-2026-58578)
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.
CVSS v4.0
Affected software
pkg:github/lobehub/lobehubRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in LobeChat prior to version 2.2.10-canary.15 arises from unsafe handling of user-supplied basePath values containing unescaped regex metacharacters. These values are injected into a dynamically constructed regular expression within the findSkillMd function and executed synchronously against archive entries. This leads to catastrophic backtracking, causing the Node.js event loop to block and resulting in a denial of service condition affecting all concurrent users. Exploitation requires authentication and involves crafting a malicious GitHub repository URL path during skill import.
Potential Impact
An authenticated attacker can cause a denial of service by blocking the Node.js event loop for tens of seconds per request, effectively disrupting service availability for all users during the attack window.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid importing skills from untrusted GitHub repository URLs or restrict authenticated user input to prevent injection of unescaped regex metacharacters in the basePath parameter.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-g4jq-25cx-3cw5
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-58578"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a46eca727e9c7971943a474
Added to database: 07/02/2026, 22:56:39 UTC
Last enriched: 07/02/2026, 23:00:28 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 43
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.