A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-32964

CVE-2024-32964: Lobehub Lobe Chat SSRF Vulnerability

CVE-2024-32964 is a Server-Side Request Forgery flaw in Lobehub Lobe Chat that allows unauthenticated attackers to exploit internal services and leak sensitive data. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 26, 2026

CVE-2024-32964 Overview

Lobe Chat is an open-source chatbot framework supporting speech synthesis, multimodal inputs, and an extensible Function Call plugin system. Versions prior to 0.150.6 contain a Server-Side Request Forgery (SSRF) vulnerability [CWE-918] in the /api/proxy endpoint. The endpoint accepts attacker-controlled URLs and forwards requests without validating whether the destination resolves to an internal address. Unauthenticated attackers can use the proxy to reach intranet services, query cloud metadata endpoints, and exfiltrate sensitive information.

Critical Impact

Unauthenticated SSRF allows attackers to pivot into internal networks, access metadata services, and disclose sensitive data through the Lobe Chat proxy endpoint.

Affected Products

  • Lobehub Lobe Chat versions prior to 0.150.6
  • Self-hosted Lobe Chat deployments exposing /api/proxy
  • Cloud-deployed Lobe Chat instances on Vercel, Docker, or similar runtimes

Discovery Timeline

  • 2024-05-14 - CVE-2024-32964 published to the National Vulnerability Database
  • 2024-05-14 - GitHub Security Advisory GHSA-mxhq-xw3g-rphc published by Lobehub
  • 2025-09-30 - Last updated in the NVD database

Technical Details for CVE-2024-32964

Vulnerability Analysis

The vulnerability resides in src/app/api/proxy/route.ts, which exposes a POST endpoint that forwards arbitrary user-supplied URLs. The original implementation accepted the request body as raw text and passed it directly into a fetch call. No authentication, host allowlist, or address validation was applied. An attacker can submit any URL — including http://127.0.0.1, http://169.254.169.254/latest/meta-data/, or internal hostnames — and receive the response through the proxy.

Because the route ran on the edge runtime, it had network reachability that could include private network ranges in self-hosted deployments. The response is returned to the caller, enabling both blind and reflective SSRF exploitation. Attackers can enumerate internal services, query cloud metadata APIs for IAM credentials, and read responses from unauthenticated intranet web interfaces.

Root Cause

The root cause is missing destination validation. The handler treated the request body as a trusted URL string and called fetch() without resolving the hostname and verifying it against private address ranges defined in RFC 1918, RFC 6598, loopback, and link-local space.

Attack Vector

Exploitation requires only network access to a vulnerable Lobe Chat instance. An attacker sends a POST request to /api/proxy with the target URL in the body. The server resolves the hostname, issues the request, and returns the response. No authentication is required.

typescript
// Patch from src/app/api/proxy/route.ts
-export const runtime = 'edge';
+import { isPrivate } from 'ip';
+import { NextResponse } from 'next/server';
+import dns from 'node:dns';
+import { promisify } from 'node:util';
+
+const lookupAsync = promisify(dns.lookup);
+
+export const runtime = 'nodejs';
 
 /**
  * just for a proxy
  */
 export const POST = async (req: Request) => {
-  const url = await req.text();
+  const url = new URL(await req.text());
+  let address;
+
+  try {
+    const lookupResult = await lookupAsync(url.hostname);
+    address = lookupResult.address;
+  } catch (err) {
+    console.error(`${url.hostname} DNS parser error:`, err);
+
+    return NextResponse.json({ error: 'DNS parser error' }, { status: 504 });
+  }
+
+  const isInternalHost = isPrivate(address);
+
+  if (isInternalHost)
// Source: https://github.com/lobehub/lobe-chat/commit/465665a735556669ee30446c7ea9049a20cc7c37

The patch switches the runtime to nodejs, resolves the hostname via dns.lookup, and rejects requests whose resolved address is in private space using the ip.isPrivate check.

Detection Methods for CVE-2024-32964

Indicators of Compromise

  • POST requests to /api/proxy with body values referencing loopback addresses (127.0.0.1, localhost) or RFC 1918 ranges
  • Requests to /api/proxy containing cloud metadata hostnames such as 169.254.169.254 or metadata.google.internal
  • Outbound traffic from the Lobe Chat application toward internal services that the application does not normally contact
  • Unexpected DNS queries originating from the Lobe Chat host for internal hostnames

Detection Strategies

  • Inspect web server and reverse proxy access logs for POST traffic to /api/proxy and correlate body contents against private IP literals or internal DNS names
  • Deploy a Web Application Firewall (WAF) rule that blocks /api/proxy request bodies containing private CIDR ranges, link-local addresses, and metadata endpoints
  • Run version inventory checks against deployed Lobe Chat containers to flag any image tagged below 0.150.6

Monitoring Recommendations

  • Alert on egress connections from the Lobe Chat process to internal subnets, 169.254.0.0/16, and other non-business destinations
  • Capture and retain full request bodies for /api/proxy to support post-incident analysis
  • Monitor for credential use anomalies on any cloud IAM role attached to the host running Lobe Chat

How to Mitigate CVE-2024-32964

Immediate Actions Required

  • Upgrade Lobe Chat to version 0.150.6 or later in all production and staging environments
  • Restrict network egress from Lobe Chat containers so they cannot reach internal subnets or cloud metadata endpoints
  • Place the /api/proxy route behind authentication or remove it if the proxy functionality is not required
  • Rotate any cloud credentials or API keys reachable from the Lobe Chat host as a precaution

Patch Information

The fix is delivered in commit 465665a and described in GitHub Security Advisory GHSA-mxhq-xw3g-rphc. The patch resolves the supplied hostname via DNS and rejects requests whose resolved address falls inside a private range using the ip.isPrivate helper.

Workarounds

  • Block public access to /api/proxy at the reverse proxy or ingress layer until the upgrade is applied
  • Use network policies, security groups, or IMDSv2 to deny outbound access from the Lobe Chat workload to 169.254.169.254 and other metadata endpoints
  • Deploy WAF signatures that reject /api/proxy bodies containing private addresses or internal hostnames
bash
# Example NGINX block to deny external access to /api/proxy
location = /api/proxy {
    allow 10.0.0.0/8;      # restrict to trusted management network
    deny all;
    proxy_pass http://lobe_chat_upstream;
}

# Example AWS metadata egress block via iptables
iptables -A OUTPUT -d 169.254.169.254 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechLobehub Lobe Chat

  • SeverityCRITICAL

  • CVSS Score9.0

  • EPSS Probability73.26%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-918
  • Vendor Resources
  • GitHub Commit Changes

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2024-32965: Lobehub Lobe Chat SSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English