LobeChat < 2.2.10-canary.18 - SSRF via importFromUrl and fetchImageFromUrl
lobehub
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| lobehub lobehub |
| No fix yet |
Original description
LobeChat before 2.2.10-canary.18 contains a server-side request forgery vulnerability that allows authenticated attackers to direct internal HTTP requests to arbitrary URLs by supplying user-controlled input to the skill import service (importFromUrl) and topic cover update (fetchImageFromUrl) endpoints, which use the global fetch without the project's ssrf-safe-fetch wrapper. Attackers can target internal addresses such as cloud instance metadata endpoints through these unprotected code paths to disclose internal service responses and cloud credentials.
From the CVE record · VulnCheck