Skip to content
OpenAdvisories
Low · 3.0 CVE-2025-62505 EUVD-2025-34905GHSA-fgx4-p8xf-qhp9

SSRF in lobehub/lobe-chat with native web fetch module

Published Oct 17, 2025 · Updated Oct 17, 2025 · Assigned by GitHub_M

Description

LobeChat is an open source chat application platform. The web-crawler package in LobeChat version 1.136.1 allows server-side request forgery (SSRF) in the tools.search.crawlPages tRPC endpoint. A client can supply an arbitrary urls array together with impls containing the value naive. The service passes the user URLs to Crawler.crawl and the naive implementation performs a server-side fetch of each supplied URL without validating or restricting internal network addresses (such as localhost, 127.0.0.1, private IP ranges, or cloud instance metadata endpoints). This allows an attacker with a valid user token (or in development mode using a bypass header) to make the server disclose responses from internal HTTP services, potentially exposing internal API data or cloud metadata credentials. Version 1.136.2 fixes the issue. Update to version 1.136.2. No known workarounds exist.

Affected products

VendorProductAffectedFixed
lobehub lobe-chat < 1.136.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @lobehub/chat < 1.136.2 1.136.2 GHSA-fgx4-p8xf-qhp9

References