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

CVE-2025-43851: RVC-WebUI Unsafe Deserialization Vulnerability

CVE-2025-43851 is an unsafe deserialization flaw in Retrieval-based-Voice-Conversion-WebUI that enables remote code execution via malicious model files. This article covers technical details, affected versions, and mitigation.

Published: March 25, 2026

CVE-2025-43851 Overview

CVE-2025-43851 is an unsafe deserialization vulnerability affecting Retrieval-based-Voice-Conversion-WebUI, a voice changing framework based on VITS. The vulnerability exists in versions 2.2.231006 and prior, where user-controlled input is passed to the torch.load function without proper validation, enabling remote code execution through malicious model files.

Critical Impact

Attackers can achieve remote code execution by providing a malicious model path that triggers unsafe deserialization through PyTorch's torch.load function, potentially leading to complete system compromise.

Affected Products

  • rvc-project retrieval-based-voice-conversion-webui versions 2.2.231006 and prior

Discovery Timeline

  • May 5, 2025 - CVE-2025-43851 published to NVD
  • August 1, 2025 - Last updated in NVD database

Technical Details for CVE-2025-43851

Vulnerability Analysis

This vulnerability stems from CWE-502 (Deserialization of Untrusted Data), a well-known class of security issues affecting Python applications that use serialization libraries without proper safeguards. The Retrieval-based-Voice-Conversion-WebUI application accepts user-provided model paths without adequate validation, creating an exploitable attack surface.

The attack flow begins when a user supplies input to the model_choose variable, which is intended to specify a path to a voice conversion model. This input flows through the uvr function in vr.py, where it creates an instance of the AudioPre class with the user-supplied path stored in the model_path attribute. The critical vulnerability occurs when this path is used with PyTorch's torch.load function, which by default uses Python's pickle module for deserialization.

PyTorch's torch.load function is inherently unsafe when used with untrusted data because pickle can execute arbitrary Python code during the deserialization process. An attacker can craft a malicious pickle payload disguised as a model file that, when loaded, executes arbitrary code on the target system with the privileges of the application.

Root Cause

The root cause is the direct use of torch.load on user-controlled file paths without implementing any of the recommended security measures. PyTorch's documentation explicitly warns against loading untrusted data with torch.load due to pickle's ability to execute arbitrary code during deserialization. The application fails to:

  1. Validate that the model path points to expected locations
  2. Use PyTorch's weights_only=True parameter to restrict deserialization
  3. Implement allowlisting of safe model sources

Attack Vector

The vulnerability is exploitable over the network without authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Hosting a malicious model file containing a crafted pickle payload on an attacker-controlled server or tricking the application into loading a local malicious file
  2. Providing the path to this malicious model file through the web interface's model selection functionality
  3. When the application attempts to load the model using torch.load, the pickle deserialization process executes the embedded malicious code

The malicious payload typically involves overriding the __reduce__ method in a Python class to execute arbitrary system commands. When torch.load deserializes the crafted file, Python's pickle module invokes this method, triggering code execution.

For technical details on the vulnerable code paths, see the GitHub Security Advisory.

Detection Methods for CVE-2025-43851

Indicators of Compromise

  • Unusual model files in application directories with unexpected content or file signatures
  • Unexpected process spawning from the Python interpreter running the WebUI application
  • Network connections to suspicious external hosts initiated by the application process
  • Anomalous file system activity or new files created in system directories

Detection Strategies

  • Monitor for torch.load calls with paths pointing to non-standard or external locations
  • Implement file integrity monitoring on model directories to detect unauthorized additions
  • Use application-level logging to track model loading operations and audit model path inputs
  • Deploy endpoint detection to identify suspicious child processes spawned by the application

Monitoring Recommendations

  • Enable verbose logging for the WebUI application to capture all model loading attempts
  • Configure network monitoring to detect outbound connections from the application to unexpected destinations
  • Set up alerting for any attempts to access model files from network shares or URLs
  • Monitor system call activity from the application process for signs of command execution

How to Mitigate CVE-2025-43851

Immediate Actions Required

  • Restrict access to the WebUI application to trusted users only until a patch is available
  • Implement network segmentation to limit the application's ability to reach external resources
  • Review and audit all model files currently in use for signs of tampering
  • Consider running the application in a containerized or sandboxed environment to limit blast radius

Patch Information

As of the time of publication, no official patch exists for this vulnerability. Organizations should monitor the GitHub Security Advisory for updates on remediation.

Workarounds

  • Implement a strict allowlist of permitted model paths, rejecting any paths outside predefined directories
  • Modify the source code to use torch.load with weights_only=True parameter where possible to prevent arbitrary code execution
  • Deploy a web application firewall (WAF) or reverse proxy to filter malicious inputs before they reach the application
  • Run the application with minimal privileges and consider using mandatory access control (MAC) frameworks like SELinux or AppArmor
bash
# Example: Restrict model directory permissions
chmod 755 /path/to/models
chown -R appuser:appgroup /path/to/models
# Ensure only trusted model files exist
find /path/to/models -type f -name "*.pth" -exec sha256sum {} \; > /path/to/model_checksums.txt

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechRvc Project

  • SeverityHIGH

  • CVSS Score8.9

  • EPSS Probability6.02%

  • 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
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-43852: RVC WebUI RCE Vulnerability via Unsafe
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