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-49841

CVE-2025-49841: GPT-SoVITS-WebUI Deserialization Flaw

CVE-2025-49841 is an unsafe deserialization vulnerability in GPT-SoVITS-WebUI that allows attackers to execute arbitrary code through malicious model files. This article covers technical details, affected versions, and mitigation.

Published: March 25, 2026

CVE-2025-49841 Overview

CVE-2025-49841 is an unsafe deserialization vulnerability affecting GPT-SoVITS-WebUI, a popular voice conversion and text-to-speech web interface. The vulnerability exists in the process_ckpt.py file where user-controlled input is passed to PyTorch's torch.load function without proper validation, allowing attackers to execute arbitrary code through maliciously crafted model files.

Critical Impact

Attackers can achieve remote code execution by exploiting the unsafe deserialization in the model loading functionality, potentially compromising the entire system running the WebUI.

Affected Products

  • rvc-boss gpt-sovits-webui version 20250228v3 and prior
  • All GPT-SoVITS-WebUI installations using the vulnerable process_ckpt.py module
  • Systems running the inference WebUI with exposed model loading functionality

Discovery Timeline

  • July 15, 2025 - CVE-2025-49841 published to NVD
  • July 30, 2025 - Last updated in NVD database

Technical Details for CVE-2025-49841

Vulnerability Analysis

This vulnerability is classified as CWE-502 (Deserialization of Untrusted Data), a well-known class of security issues that can lead to remote code execution. The flaw occurs in the model loading workflow of GPT-SoVITS-WebUI where the SoVITS_dropdown variable accepts user input and passes it directly to the load_sovits_new function.

Within load_sovits_new, the user-supplied path (sovits_path) is used as an argument to torch.load() without any sanitization or validation. PyTorch's torch.load function uses Python's pickle module under the hood, which is inherently unsafe when processing untrusted data. An attacker can craft a malicious pickle payload disguised as a model checkpoint file that executes arbitrary Python code when deserialized.

The network-accessible attack vector combined with no required privileges or user interaction makes this vulnerability particularly dangerous for internet-facing deployments. Successful exploitation grants the attacker the same privileges as the process running the WebUI, potentially leading to full system compromise.

Root Cause

The root cause is the direct use of torch.load() on user-controllable file paths without implementing safe deserialization practices. The vulnerable code in process_ckpt.py (lines 100-106) trusts that the provided model checkpoint file is legitimate, failing to account for the risk of pickle deserialization attacks. PyTorch's documentation explicitly warns that torch.load() uses pickle internally and should never be used on untrusted data without the weights_only=True parameter or equivalent safeguards.

Attack Vector

The attack requires an adversary to either:

  1. Upload a malicious model file through the WebUI interface if file upload is permitted
  2. Provide a path to a malicious file already present on the system
  3. Exploit any file write primitive to place a malicious checkpoint file in a location the application will load

Once the malicious file path is supplied to the SoVITS_dropdown input, it flows through inference_webui.py (lines 873 and 926) to the vulnerable load_sovits_new function, which triggers the deserialization and executes the embedded payload.

The vulnerability mechanism involves PyTorch's torch.load() function deserializing pickle data from user-supplied model files. When a malicious pickle payload is crafted with a __reduce__ method containing arbitrary code, the deserialization process automatically executes that code. For detailed technical analysis, see the GitHub Security Advisory.

Detection Methods for CVE-2025-49841

Indicators of Compromise

  • Unexpected files with .pth, .ckpt, or similar model checkpoint extensions appearing in model directories
  • Unusual process spawning or network connections originating from the GPT-SoVITS-WebUI process
  • Log entries showing model loading attempts from non-standard paths or user-controlled locations
  • Evidence of pickle deserialization errors or Python exception traces in application logs

Detection Strategies

  • Monitor file system activity for new or modified checkpoint files in the GPT-SoVITS model directories
  • Implement application-level logging to track all model loading operations and the source paths
  • Deploy endpoint detection rules to identify suspicious Python subprocess execution patterns
  • Analyze network traffic for unexpected outbound connections from the WebUI application

Monitoring Recommendations

  • Enable verbose logging in the GPT-SoVITS-WebUI application to capture model loading events
  • Configure SIEM alerts for anomalous process behavior associated with Python/PyTorch applications
  • Implement file integrity monitoring on directories containing legitimate model checkpoints
  • Review web server access logs for unusual requests to model loading endpoints

How to Mitigate CVE-2025-49841

Immediate Actions Required

  • Restrict network access to GPT-SoVITS-WebUI instances, limiting exposure to trusted networks only
  • Disable or restrict the model upload and selection functionality if not required for operations
  • Implement strict file path validation to ensure only pre-approved model files can be loaded
  • Run the WebUI application with minimal privileges using a dedicated service account

Patch Information

At the time of publication, no known patched versions are available from the vendor. Organizations should monitor the GPT-SoVITS GitHub repository for security updates and apply patches as soon as they become available. The recommended fix involves using torch.load() with the weights_only=True parameter or implementing alternative safe loading mechanisms.

Workarounds

  • Deploy the application behind a reverse proxy with strong authentication to limit access to authorized users
  • Modify process_ckpt.py to add weights_only=True parameter to torch.load() calls, though this may break functionality if models contain non-tensor objects
  • Implement an allowlist of trusted model file hashes and validate checkpoints before loading
  • Containerize the application with restricted capabilities and network isolation to limit blast radius
bash
# Example: Running GPT-SoVITS-WebUI with restricted permissions
# Create dedicated user with minimal privileges
useradd -r -s /bin/false gpt-sovits-user

# Restrict model directory permissions
chmod 750 /opt/gpt-sovits/models
chown gpt-sovits-user:gpt-sovits-user /opt/gpt-sovits/models

# Run application as restricted user
su -s /bin/bash -c "python inference_webui.py" gpt-sovits-user

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechGpt Sovits Webui

  • SeverityHIGH

  • CVSS Score8.9

  • EPSS Probability0.25%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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
  • AvailabilityHigh
  • CWE References
  • CWE-502
  • Technical References
  • GitHub Code Snippet

  • GitHub Code Snippet

  • GitHub Code Snippet

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-49838: GPT-SoVITS-WebUI Deserialization Flaw

  • CVE-2025-49839: GPT-SoVITS-WebUI Deserialization Flaw

  • CVE-2025-49837: GPT-SoVITS-WebUI Deserialization Flaw

  • CVE-2025-49836: GPT-SoVITS-WebUI RCE 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