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-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 through malicious model files. This article covers technical details, affected versions, and mitigation.

Updated: May 15, 2026

CVE-2025-49839 Overview

CVE-2025-49839 is an unsafe deserialization vulnerability in GPT-SoVITS-WebUI, an open-source voice conversion and text-to-speech web interface maintained by RVC-Boss. The flaw affects versions 20250228v3 and prior. User-controlled input passed to the model_choose variable is forwarded to the uvr function, which instantiates the Roformer_Loader class. The class then calls torch.load on the attacker-supplied path, enabling arbitrary code execution through Python pickle deserialization. No patched version was available at the time of publication.

Critical Impact

Remote attackers can achieve arbitrary code execution on the host running GPT-SoVITS-WebUI by supplying a malicious model path, with no authentication required.

Affected Products

  • RVC-Boss GPT-SoVITS-WebUI version 20250228v3
  • All prior GPT-SoVITS-WebUI releases
  • Deployments exposing the tools/uvr5/webui.py interface

Discovery Timeline

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

Technical Details for CVE-2025-49839

Vulnerability Analysis

The vulnerability resides in tools/uvr5/bsroformer.py within the GPT-SoVITS-WebUI project. The model_choose parameter, exposed through the Gradio-based web UI in webui.py, accepts a user-supplied string representing a model identifier. That value flows into the uvr function, which constructs a Roformer_Loader instance and assigns the supplied value to its model_path attribute after appending the .ckpt extension. Inside Roformer_Loader, the code invokes torch.load(model_path) to deserialize the file from disk.

PyTorch's torch.load uses Python's pickle module by default. Pickle deserialization executes arbitrary code defined in the __reduce__ method of any object embedded in the serialized stream. The CWE classification for this weakness is [CWE-502] Deserialization of Untrusted Data.

Root Cause

The root cause is the absence of validation, sandboxing, or safe-loading controls around torch.load. The application trusts client-controlled file paths and loads serialized model artifacts without verifying their integrity, origin, or contents. The weights_only=True flag, introduced in newer PyTorch releases to restrict unpickling to safe types, is not used.

Attack Vector

An attacker reaches the vulnerable code over the network by interacting with the web UI. The attacker first places a malicious pickle file on the target system or stages it at a writable path reachable by the application, then submits its name through the model selection input. When the application appends .ckpt and calls torch.load, the embedded payload executes with the privileges of the Python process. Exploitation requires no authentication or user interaction.

No verified proof-of-concept code is publicly indexed. Technical details are documented in the GitHub Security Advisory GHSL-2025-049 and in the affected source file bsroformer.py.

Detection Methods for CVE-2025-49839

Indicators of Compromise

  • Unexpected child processes spawned by the Python interpreter hosting GPT-SoVITS-WebUI, such as sh, bash, cmd.exe, or powershell.exe.
  • New or modified .ckpt, .pt, or .pth files in the tools/uvr5/ model directories that were not added through legitimate workflows.
  • Outbound network connections from the GPT-SoVITS-WebUI host to unfamiliar IPs immediately after model selection events.
  • Web server access logs showing requests to the Gradio endpoints associated with uvr5/webui.py followed by anomalous process activity.

Detection Strategies

  • Monitor process lineage for python processes loading PyTorch and subsequently launching shells or scripting interpreters.
  • Inspect filesystem telemetry for newly written model files in directories consumed by Roformer_Loader.
  • Hunt for use of torch.load against paths under web-writable directories in application logs and tracing tools.

Monitoring Recommendations

  • Enable command-line and parent-process logging on hosts running GPT-SoVITS-WebUI.
  • Alert on egress traffic from the application host to non-allowlisted destinations.
  • Capture and retain Gradio request logs to correlate model-selection inputs with subsequent process behavior.

How to Mitigate CVE-2025-49839

Immediate Actions Required

  • Restrict network access to GPT-SoVITS-WebUI so only trusted operators on isolated networks can reach the interface.
  • Disable or remove the tools/uvr5/ UVR5 functionality if it is not required for the deployment.
  • Run the application as a low-privileged user inside a container or sandbox to limit the blast radius of code execution.
  • Allowlist model files by cryptographic hash and reject any path that resolves outside a controlled directory.

Patch Information

No official patched version was available at publication. Track the RVC-Boss GPT-SoVITS repository and the GHSL-2025-049 advisory for fix availability.

Workarounds

  • Modify local deployments to call torch.load with weights_only=True where the PyTorch version supports it.
  • Validate the model_choose input against a strict allowlist of known model filenames before passing it to uvr.
  • Block the web UI behind authenticated reverse proxies or VPN access to prevent unauthenticated exploitation.
  • Treat all .ckpt, .pt, and .pth files received from external sources as untrusted and scan them before loading.
bash
# Configuration example: run GPT-SoVITS-WebUI behind an authenticated reverse proxy
# and bind the service to localhost only
export GRADIO_SERVER_NAME="127.0.0.1"
export GRADIO_SERVER_PORT="9873"
python webui.py --listen 127.0.0.1

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

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

  • GitHub Script - webui.py (Line 157)

  • GitHub Script - webui.py (Lines 192-205)

  • GitHub Script - webui.py (Lines 52-59)

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