Cyber Posture

CVE-2025-27781

Critical

Published: 19 March 2025

Published
19 March 2025
Modified
01 August 2025
KEV Added
Patch
CVSS Score 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.1040 93.2th percentile
Risk Priority 26 60% EPSS · 20% KEV · 20% CVSS

Description

Adversaries may abuse Python commands and scripts for execution.

Security Summary

CVE-2025-27781 is an unsafe deserialization vulnerability (CWE-502) in Applio, an open-source voice conversion tool. It affects versions 3.2.8-bugfix and prior. The issue stems from the inference.py and tts.py modules, where the model_file parameter accepts user-supplied input, such as a model path. This value is passed to the change_choices and get_speakers_id functions, which invoke torch.load at line 326 in inference.py (version 3.2.8-bugfix) on untrusted data, enabling arbitrary code execution. The vulnerability carries a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

The vulnerability can be exploited by any unauthenticated attacker over the network with low complexity and no user interaction. By providing a malicious model file path, an attacker can trigger deserialization of crafted payloads during model loading, resulting in remote code execution on the victim's system with high impacts to confidentiality, integrity, and availability.

Mitigation is available via a patch on the main branch of the Applio GitHub repository (commit eb21d9dd349a6ae1a28c440b30d306eafba65097). Security practitioners should advise users to update immediately. Additional details are provided in the GitHub Security Lab advisory (GHSL-2024-341_GHSL-2024-353) and affected code references.

As a PyTorch-based voice conversion tool, this vulnerability underscores deserialization risks in AI/ML inference pipelines where user-controlled model inputs are common. No public evidence of real-world exploitation has been reported as of publication on 2025-03-19.

Details

CWE(s)
CWE-502

Affected Products

applio
applio
≤ 3.2.8-bugfix

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1059.006 Python Execution
Adversaries may abuse Python commands and scripts for execution.
Why these techniques?

Unsafe deserialization in public-facing Applio app enables unauthenticated remote code execution via malicious model input to torch.load, directly facilitating T1190 (Exploit Public-Facing Application) for initial access and T1059.006 (Python) for arbitrary code execution.

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

References