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

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

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

Published: March 25, 2026

CVE-2025-49839 Overview

CVE-2025-49839 is an unsafe deserialization vulnerability affecting GPT-SoVITS-WebUI, a popular voice conversion and text-to-speech web interface. The vulnerability exists in the bsroformer.py file where user-supplied input is passed to torch.load() without proper validation, enabling attackers to execute arbitrary code by supplying a malicious model file.

In affected versions (20250228v3 and prior), the model_choose variable accepts user input representing a path to a model file. This input flows through the uvr function where a new instance of the Roformer_Loader class is created with the user-controlled path. The application appends a .ckpt extension to the path and subsequently uses torch.load() to deserialize the model file. Since torch.load() uses Python's pickle module internally, a malicious actor can craft a specially designed model file that executes arbitrary code upon deserialization.

Critical Impact

Remote attackers can achieve arbitrary code execution on systems running GPT-SoVITS-WebUI by providing a path to a malicious model file, potentially leading to complete system compromise.

Affected Products

  • GPT-SoVITS-WebUI version 20250228v3 and all prior versions
  • rvc-boss gpt-sovits-webui (all releases through 20250228v3)

Discovery Timeline

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

Technical Details for CVE-2025-49839

Vulnerability Analysis

This insecure deserialization vulnerability represents a dangerous code execution pathway in machine learning applications. The vulnerability chain begins when user input is accepted through the web interface as a model path parameter. The application's uvr function instantiates a Roformer_Loader object with this user-controlled path, which is stored as the model_path attribute after appending the .ckpt extension.

The critical security flaw occurs within the Roformer_Loader class when it calls torch.load() to deserialize the model file. PyTorch's torch.load() function utilizes Python's pickle deserialization mechanism by default, which is inherently unsafe when processing untrusted data. Pickle deserialization can execute arbitrary Python code embedded within the serialized object during the unpickling process.

An attacker who can influence the model path—whether through direct web interface interaction, path traversal techniques, or by placing malicious files on accessible storage—can trigger code execution with the privileges of the application process.

Root Cause

The root cause of this vulnerability is the use of torch.load() to deserialize model files from user-controlled paths without implementing safe deserialization practices. The application fails to:

  1. Validate or sanitize the user-supplied model path before use
  2. Restrict model loading to trusted, pre-approved locations
  3. Use PyTorch's weights_only=True parameter to prevent arbitrary code execution during deserialization
  4. Implement integrity verification for model files before loading

The underlying issue stems from trusting user input in a security-sensitive deserialization context, combined with the default unsafe behavior of pickle-based deserialization.

Attack Vector

The attack can be executed over the network by any unauthenticated user with access to the GPT-SoVITS-WebUI interface. The exploitation flow proceeds as follows:

  1. The attacker crafts a malicious .ckpt file containing a pickled Python object with embedded code execution logic
  2. The attacker uploads or places the malicious file in an accessible location
  3. Through the web interface, the attacker provides a path pointing to the malicious model file (minus the .ckpt extension which is appended automatically)
  4. The application instantiates Roformer_Loader with the malicious path and calls torch.load()
  5. During deserialization, the malicious pickle payload executes arbitrary code on the server

The vulnerability requires no user interaction or authentication, and exploitation can lead to remote code execution with the privileges of the web application process. For detailed technical implementation, refer to the GitHub Security Advisory GHSL-2025-049.

Detection Methods for CVE-2025-49839

Indicators of Compromise

  • Unexpected model file paths being requested through the web interface, especially paths containing traversal sequences or pointing to unusual directories
  • New or modified .ckpt files in model directories or temporary locations that were not legitimately created
  • Anomalous process spawning or network connections originating from the GPT-SoVITS-WebUI Python process
  • Log entries showing model loading operations with unusual file paths or failures followed by suspicious activity

Detection Strategies

  • Monitor file system access patterns for the application, alerting on model file reads from non-standard directories
  • Implement application-level logging to capture all model path inputs and flag paths containing traversal patterns or pointing outside expected directories
  • Deploy endpoint detection to identify pickle deserialization exploitation patterns and subsequent malicious activity
  • Use behavioral analysis to detect anomalous child processes spawned by the Python web application

Monitoring Recommendations

  • Enable comprehensive request logging on the web interface to capture all model path parameters submitted by users
  • Implement file integrity monitoring on model directories to detect unauthorized additions or modifications to .ckpt files
  • Configure network monitoring to alert on unexpected outbound connections from the application server
  • Deploy SentinelOne Singularity to detect and prevent post-exploitation activities such as reverse shells or lateral movement attempts

How to Mitigate CVE-2025-49839

Immediate Actions Required

  • Restrict network access to GPT-SoVITS-WebUI instances to trusted users only; do not expose the interface to untrusted networks or the public internet
  • Implement application-level input validation to restrict model paths to a predefined whitelist of trusted directories
  • Deploy network segmentation to isolate systems running GPT-SoVITS-WebUI from critical infrastructure
  • Monitor the RVC-Boss GPT-SoVITS GitHub repository for security updates and apply patches immediately when available

Patch Information

At the time of publication, no official patched version is available from the vendor. Users should monitor the project's GitHub repository and security advisories for patch releases. The GitHub Security Advisory GHSL-2025-049 contains additional details about the vulnerability disclosure.

For organizations that must continue using the affected software, implementing the workarounds below and maintaining strict access controls is critical until an official fix is released.

Workarounds

  • Modify the source code to use torch.load() with the weights_only=True parameter, which prevents arbitrary code execution during deserialization by only allowing tensor data
  • Implement strict path validation in the application to ensure model paths can only point to a predefined, trusted model directory
  • Deploy the application in an isolated container or sandbox environment with minimal privileges to limit the impact of potential exploitation
  • Use a reverse proxy with request filtering to validate and sanitize model path parameters before they reach the application
bash
# Example: Run GPT-SoVITS-WebUI in an isolated Docker container with restricted capabilities
docker run -d \
  --name gpt-sovits-isolated \
  --network none \
  --read-only \
  --cap-drop ALL \
  --security-opt no-new-privileges \
  -v /path/to/trusted/models:/app/models:ro \
  gpt-sovits-webui:latest

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.27%

  • 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 PoC Script - bsroformer.py

  • GitHub PoC Script - webui.py

  • GitHub PoC Segment - webui.py

  • GitHub PoC Segment - webui.py

  • GitHub Security Advisory GHSL-2025-049
  • Related CVEs
  • CVE-2025-49841: GPT-SoVITS-WebUI Deserialization Flaw

  • CVE-2025-49838: 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