Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2025-10164

CVE-2025-10164: lmsys sglang RCE Vulnerability

CVE-2025-10164 is a remote code execution flaw in lmsys sglang 0.4.6 caused by insecure deserialization in the update_weights_from_tensor function. This article covers technical details, affected versions, and mitigation.

Published: April 14, 2026

CVE-2025-10164 Overview

A security flaw has been discovered in lmsys SGLang version 0.4.6. This vulnerability affects the main function of the file /update_weights_from_tensor. The manipulation of the argument serialized_named_tensors results in insecure deserialization, allowing attackers to potentially execute malicious code or manipulate application behavior. The attack can be launched remotely without authentication. The exploit has been released to the public and may be actively exploited. The vendor was contacted early about this disclosure but did not respond in any way.

Critical Impact

Remote attackers can exploit insecure deserialization in SGLang's tensor weight update functionality to potentially execute arbitrary code or compromise system integrity without authentication.

Affected Products

  • lmsys SGLang 0.4.6

Discovery Timeline

  • 2025-09-09 - CVE CVE-2025-10164 published to NVD
  • 2025-09-11 - Last updated in NVD database

Technical Details for CVE-2025-10164

Vulnerability Analysis

This vulnerability stems from insecure deserialization practices within the SGLang framework's weight update mechanism. The /update_weights_from_tensor endpoint accepts serialized tensor data through the serialized_named_tensors parameter without proper validation or sanitization. When untrusted serialized data is deserialized, an attacker can craft malicious payloads that execute arbitrary operations during the deserialization process.

The vulnerability is classified under CWE-20 (Improper Input Validation), indicating that the application fails to properly validate input before processing. In the context of machine learning frameworks like SGLang, tensor serialization is commonly used for model weight updates and distributed training operations, making this a particularly sensitive attack surface.

Root Cause

The root cause of this vulnerability lies in the improper handling of serialized tensor data in the main function of the /update_weights_from_tensor endpoint. The application deserializes the serialized_named_tensors argument without implementing adequate security controls such as:

  • Input validation before deserialization
  • Type checking of deserialized objects
  • Allowlisting of permitted classes during deserialization
  • Signature verification of serialized payloads

This allows attackers to inject malicious objects that execute code when deserialized by the application.

Attack Vector

The attack can be launched remotely over the network. An attacker does not require authentication to exploit this vulnerability. The exploitation flow involves:

  1. Crafting a malicious serialized payload containing harmful objects
  2. Sending the payload to the /update_weights_from_tensor endpoint via the serialized_named_tensors parameter
  3. The application deserializes the payload without proper validation
  4. Malicious code embedded in the serialized object executes during deserialization

The vulnerability has been publicly disclosed, and exploit details are available. For technical details regarding the exploitation mechanism, refer to the VulDB advisory.

Detection Methods for CVE-2025-10164

Indicators of Compromise

  • Unexpected HTTP requests to the /update_weights_from_tensor endpoint from external or unauthorized sources
  • Unusual process spawning or child process creation originating from the SGLang application
  • Anomalous network connections initiated by the SGLang process following tensor update requests
  • Suspicious serialized data patterns in application logs or network traffic

Detection Strategies

  • Monitor HTTP traffic for requests targeting the /update_weights_from_tensor endpoint, especially from untrusted networks
  • Implement application-level logging to capture all deserialization operations and their source
  • Deploy network intrusion detection systems (IDS) with signatures for known deserialization attack patterns
  • Use endpoint detection and response (EDR) solutions like SentinelOne to detect post-exploitation behaviors

Monitoring Recommendations

  • Enable verbose logging for the SGLang application to capture request details and parameter values
  • Set up alerts for any access to the /update_weights_from_tensor endpoint from non-whitelisted IP addresses
  • Monitor system calls and process behavior for the SGLang application to detect code execution attempts
  • Review authentication logs for any unauthorized access attempts to model update functionalities

How to Mitigate CVE-2025-10164

Immediate Actions Required

  • Restrict network access to the /update_weights_from_tensor endpoint using firewall rules or network segmentation
  • Implement authentication and authorization controls for all model weight update operations
  • If not actively using the weight update functionality, consider disabling or removing the /update_weights_from_tensor endpoint
  • Monitor for exploitation attempts and review logs for any suspicious activity

Patch Information

At the time of publication, the vendor (lmsys) has not responded to disclosure communications and no official patch is available. Organizations using SGLang 0.4.6 should implement the recommended workarounds and monitor for vendor updates. Check the VulDB advisory for the latest status on vendor response and patches.

Workarounds

  • Deploy a web application firewall (WAF) or reverse proxy to filter and validate requests to vulnerable endpoints
  • Implement network-level access controls to restrict access to the SGLang service from trusted sources only
  • Use containerization or sandboxing to limit the impact of potential exploitation
  • Consider upgrading to a newer version of SGLang if one becomes available with security fixes
bash
# Example: Restrict access to the vulnerable endpoint using iptables
# Allow only trusted internal network (adjust as needed)
iptables -A INPUT -p tcp --dport 8080 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 8080 -j DROP

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechLmsys

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-20
  • Technical References
  • VulDB CTI ID #323203

  • VulDB #323203

  • VulDB Submission #635919
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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