# CVE-2025-62505: SSRF in lobehub/lobe-chat with native web fetch module

> An attacker can exploit an SSRF vulnerability in LobeChat to access internal network resources and cloud metadata via the web crawler endpoint.

- **Severity:** Low 3.0 (`CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 17 Oct 2025
- **Updated:** 17 Oct 2025
- **Also known as:** GHSA-fgx4-p8xf-qhp9

## What is CVE-2025-62505?

CVE-2025-62505 is a low-severity server-side request forgery vulnerability in lobehub lobe-chat, published on 17 Oct 2025. An attacker needs administrator access to exploit it, with no action from the victim.

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

Weakness: CWE-918 (Server-Side Request Forgery)

## Which versions are affected by CVE-2025-62505?

2 open source packages ship an affected version, including @lobehub/chat.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `@lobehub/chat` | npm | All versions | 1.136.2 |
| `@lobehub/chat` | npm | All versions | 1.136.2 |

## How do I fix CVE-2025-62505?

Upgrade @lobehub/chat to 1.136.2 or later.

## Is CVE-2025-62505 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-62505 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2025-62505 and fix it if it is affected.

What it is: CVE-2025-62505 is a low-severity server-side request forgery vulnerability in lobehub lobe-chat, published on 17 Oct 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-62505 exists.

Affected packages and fixed versions:
- @lobehub/chat (npm): affected all versions; fixed in 1.136.2
- @lobehub/chat (npm): affected all versions; fixed in 1.136.2

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2025-62505/ (Markdown: https://insights.sbomify.com/CVE-2025-62505/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2025-62505
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-62505
- OSV: https://osv.dev/vulnerability/CVE-2025-62505

---
From sbomify Insights: https://insights.sbomify.com/CVE-2025-62505/
Summaries are generated and may contain mistakes; the official description above is the record.
