CVE-2025-62505
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@lobehub/chatnpm | < 1.136.2 | 1.136.2 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-fgx4-p8xf-qhp9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-62505ghsaADVISORY
- github.com/lobehub/lobe-chat/blob/d942a635b36a231156c60d824afa573af8032572/packages/web-crawler/src/crawImpl/naive.tsghsaWEB
- github.com/lobehub/lobe-chat/commit/8d59583dca16f218b99213d641733d8ba77f182cnvdWEB
- github.com/lobehub/lobe-chat/security/advisories/GHSA-fgx4-p8xf-qhp9nvdWEB
News mentions
0No linked articles in our index yet.