Gpt Sovits WebuiApplication · Rvc Boss

CVE-2025-49835

CRITICAL · 9.8 CVSS v3.1 Published 2025-07-15
Fix available
A fix is available. Upgrade to after 20250228v3 or later.
See remediation →
100/100
Remediation priority · Urgent
Public exploit Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
GPT-SoVITS-WebUI is a voice conversion and text-to-speech webUI. In versions 20250228v3 and prior, there is a command injection vulnerability in webui.py open_asr function. asr_inp_dir (and a number of other variables) takes user input, which is passed to the open_asr function, which concatenates the user input into a command and runs it on the server, leading to arbitrary command execution. At time of publication, no known patched versions are available.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

GPT-SoVITS-WebUI versions 20250228v3 and prior contain a command injection vulnerability in the open_asr function in webui.py. The asr_inp_dir parameter (and potentially other variables) accepts user input that gets concatenated directly into a shell command, allowing arbitrary command execution on the server.

MitigationSince no patched version is available, immediately restrict network access to the webUI, implement strict input validation/sanitization on all user-supplied parameters before command construction, and replace shell command execution with safer alternatives such as subprocess with shell=False and argument lists.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Gpt Sovits WebuiApplication
Affected:<= 20250228v3

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify GPT-SoVITS-WebUI installation location
    Search for webui.py file in common locations such as the current working directory, /opt/GPT-SoVITS/, or ~/GPT-SoVITS/. Use 'find / -name webui.py 2>/dev/null' to locate all instances.
    Affected if The webui.py file from GPT-SoVITS is found on the system
  2. Determine installed version
    Check the version file or git log in the GPT-SoVITS installation directory. Common locations: version file, git tag, or README.md. Look for version strings like '20250228v3' or later.
    Affected if The installed version is 20250228v3 or any version prior to this
  3. Verify vulnerable function exists
    Open webui.py and search for the 'open_asr' function definition. Look for lines where 'asr_inp_dir' parameter is used in command construction, typically involving os.system, subprocess with shell=True, or string concatenation into shell commands.
    Affected if The open_asr function exists and directly concatenates asr_inp_dir into shell commands without sanitization
  4. Check network exposure of the WebUI
    Review the webui.py startup configuration or any --host/--port flags. Look for binding to '0.0.0.0' instead of '127.0.0.1', or check if the service is listening on a public IP using 'netstat -tlnp' or 'ss -tlnp'.
    Affected if The WebUI is bound to 0.0.0.0 or a public IP address and is accessible over the network
  5. Inspect input handling for asr_inp_dir
    In webui.py, examine how the asr_inp_dir parameter is processed before being used in shell commands. Check if there is any input validation, sanitization, or use of subprocess with shell=False and argument lists.
    Affected if asr_inp_dir is passed directly to shell execution functions without validation or sanitization, or shell=True is used with string formatting

The environment is affected if GPT-SoVITS-WebUI version 20250228v3 or earlier is installed and the open_asr function directly uses the asr_inp_dir parameter in shell commands without input sanitization.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to a release after 20250228v3
Interim mitigation

Since no patched version is available, immediately restrict network access to the webUI, implement strict input validation/sanitization on all user-supplied parameters before command construction, and replace shell command execution with safer alternatives such as subprocess with shell=False and argument lists.

Recommended fix Low confidence
  1. Isolate the affected system from untrusted networks since no patch is available.
  2. If exposure to untrusted users is not required, run the application in a local-only mode or behind a properly configured firewall.
  3. Review and implement input validation on all user-supplied parameters, particularly asr_inp_dir and related variables, before they are used in any system calls.
  4. Run the application with the minimum privileges necessary to reduce the impact of potential command injection.
  5. Monitor for any suspicious command execution or unexpected system behavior.
  6. Check the project repository at github.com for updated releases that may address this vulnerability in the future.

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Gpt Sovits Webui Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing3.0 h
  • Review / QA2.0 h
14.0 hours of engineering $2,490
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-49835 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-49835 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data