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

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

CVE-2025-49837 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-49837 Overview

CVE-2025-49837 is an insecure deserialization vulnerability affecting GPT-SoVITS-WebUI, a popular voice conversion and text-to-speech web application. The vulnerability exists in the vr.py file within the AudioPre class, where user-controlled input is passed directly to PyTorch's torch.load function without proper validation or sanitization. This allows remote attackers to achieve arbitrary code execution by supplying a malicious serialized payload disguised as a model file.

Critical Impact

Remote attackers can achieve arbitrary code execution on systems running vulnerable GPT-SoVITS-WebUI instances by exploiting unsafe deserialization in the model loading functionality.

Affected Products

  • rvc-boss gpt-sovits-webui version 20250228v3 and prior

Discovery Timeline

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

Technical Details for CVE-2025-49837

Vulnerability Analysis

This vulnerability stems from the unsafe use of PyTorch's torch.load function with user-controllable input. The attack chain begins when a user provides input through the model_choose variable in the web interface. This input, intended to specify a path to a voice model file, flows through multiple functions without adequate validation.

When a user interacts with the UVR5 (Ultimate Vocal Remover) component of GPT-SoVITS-WebUI, the model_choose parameter is passed to the uvr function. This function creates a new instance of the AudioPre class, passing the user-supplied path as the model_path attribute. During this process, the .pth extension is appended to the path. Within the AudioPre class constructor, the torch.load function is called with this user-controlled path.

PyTorch's torch.load function uses Python's pickle module under the hood to deserialize objects. Pickle deserialization is inherently unsafe when processing untrusted data, as it can instantiate arbitrary Python objects and execute code during the unpickling process. An attacker who can control the file being loaded can craft a malicious .pth file containing a pickled payload that executes arbitrary system commands upon deserialization.

The attack is network-accessible through the web interface, requires no authentication, and has no user interaction requirements for exploitation. Successful exploitation grants the attacker the ability to execute arbitrary code with the privileges of the application process, potentially leading to complete system compromise, data exfiltration, or lateral movement within the network.

Root Cause

The root cause is CWE-502: Deserialization of Untrusted Data. The application uses torch.load to deserialize model files without validating the source or integrity of the data. Since torch.load relies on Python's pickle module, any maliciously crafted file can execute arbitrary code during the deserialization process. The vulnerability is compounded by the lack of input validation on the model_choose parameter, allowing attackers to potentially specify arbitrary file paths.

Attack Vector

The attack is conducted over the network through the GPT-SoVITS-WebUI interface. An attacker can exploit this vulnerability by:

  1. Uploading or placing a malicious .pth file containing a crafted pickle payload on the target system
  2. Using the web interface to select this malicious file as the model
  3. Triggering the model loading process, which calls torch.load with the attacker-controlled path
  4. The malicious pickle payload executes arbitrary Python code during deserialization

The vulnerability exists in the file path handling between tools/uvr5/webui.py and tools/uvr5/vr.py. For detailed code context, refer to the GitHub Security Advisory which documents the vulnerable code paths at lines 32 in vr.py and multiple locations in webui.py.

Detection Methods for CVE-2025-49837

Indicators of Compromise

  • Unexpected network connections originating from the GPT-SoVITS-WebUI process
  • Suspicious .pth files uploaded to model directories that were not created by administrators
  • Anomalous process spawning from the Python interpreter running GPT-SoVITS-WebUI
  • Unusual file system access patterns from the web application process

Detection Strategies

  • Monitor for torch.load calls with paths containing user-controllable input or pointing outside expected model directories
  • Implement file integrity monitoring on model directories to detect unauthorized file modifications
  • Deploy endpoint detection and response (EDR) solutions to monitor for suspicious process chains originating from Python/GPT-SoVITS processes
  • Analyze web application logs for unusual model loading requests or path traversal attempts

Monitoring Recommendations

  • Enable verbose logging for the GPT-SoVITS-WebUI application to capture model loading events
  • Configure network monitoring to detect unusual outbound connections from the application server
  • Implement process monitoring to alert on unexpected child processes spawned by the web application
  • Set up file system auditing on directories where model files are stored

How to Mitigate CVE-2025-49837

Immediate Actions Required

  • Restrict network access to GPT-SoVITS-WebUI instances to trusted users and networks only
  • Implement strict input validation on the model_choose parameter to allow only expected model names
  • Audit existing .pth files in model directories for unexpected or suspicious content
  • Consider running GPT-SoVITS-WebUI in an isolated container or sandboxed environment to limit blast radius

Patch Information

At the time of publication, no known patched versions are available for GPT-SoVITS-WebUI. Users should monitor the official GPT-SoVITS GitHub repository for security updates and apply patches as soon as they become available. The vulnerability is tracked in GitHub Security Advisory GHSL-2025-049 through GHSL-2025-053.

Workarounds

  • Use torch.load with weights_only=True parameter (requires code modification) to prevent arbitrary code execution during deserialization
  • Implement an allowlist of valid model paths and validate user input against this list before loading
  • Deploy the application behind a reverse proxy with authentication to limit access to trusted users
  • Run the application with minimal privileges and in an isolated environment (container, VM, or sandbox)
bash
# Example: Restrict network access using iptables
# Only allow connections from trusted IP addresses
iptables -A INPUT -p tcp --dport 7860 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 7860 -j DROP

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 Code Snippet

  • GitHub Code Snippet

  • GitHub Code Snippet

  • GitHub Code Snippet

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

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

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