Skip to main content

Tencent MimicMotion CVE-2025-13716

HIGH
Deserialization of Untrusted Data (CWE-502)
2025-12-23 zdi-disclosures@trendmicro.com
7.8
CVSS 3.0 · Vendor: trendmicro
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious model checkpoint with pickle payload
  2. Exploit
    Trick victim into loading file via create_pipeline
  3. Execution
    torch.load deserializes untrusted pickle
  4. Impact
    Arbitrary code executes as root

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the victim load an attacker-controlled checkpoint file (infer_config.ckpt_path) through the create_pipeline function, which pre-patch called torch.load without weights_only=True, allowing arbitrary pickle deserialization. The required precondition is therefore user interaction (UI:R): a user must be socially engineered into opening/loading a malicious model file or visiting a page that triggers that load - there is no unauthenticated network path. Limiting factors: local attack vector (AV:L), mandatory user interaction, and the need for the attacker to deliver a crafted checkpoint; the root-context impact applies only where MimicMotion is run as root. Patched versions gate loading with torch.serialization.safe_globals and weights_only=True, neutralizing arbitrary pickle execution.

Impact

This is a CWE-502 untrusted deserialization flaw in Tencent MimicMotion's create_pipeline function, which calls torch.load on an attacker-controllable checkpoint path. The provided CVSS:3.0 vector (AV:L/AC:L/PR:N/UI:R) is internally consistent and worth reconciling with the ZDI title, which labels this 'Remote Code Execution': the vector is LOCAL (AV:L) because exploitation hinges on the victim loading a malicious model/checkpoint file, not on a network-facing service - the 'remote' framing refers to attacker-supplied content delivered to the victim, not an unauthenticated network attack. PR:N means no prior privileges are needed, but UI:R (user interaction required) is the key limiting factor: a human must open the malicious file/visit a page that triggers the load. Severity is high (C:H/I:H/A:H, code execution 'in the context of root' per the description). EPSS is low at 0.51% (42nd percentile), there is NO CISA KEV listing, and no public POC is referenced - so despite the high CVSS, real-world opportunistic exploitation pressure is currently modest and depends on social-engineering a victim into loading a weaponized checkpoint. No SSVC decision data was provided in the input, so automatable/exploitation-status cannot be derived from SSVC. Net: a genuine high-impact RCE, but gated behind user interaction and a niche AI-research deployment footprint rather than a drop-everything internet-wide emergency.

Exploit ScenarioDerived

An attacker publishes or shares a malicious PyTorch model checkpoint (a pickle payload) on a model hub, repo, or via a link. A MimicMotion user is tricked into loading it through create_pipeline, where torch.load deserializes the untrusted pickle and executes the embedded payload as root. No public exploit is referenced, but the technique (malicious pickle in torch.load without weights_only) is well-understood; local vector and low attack complexity make execution reliable once the file is opened.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 19, 2026

Tencent MimicMotion's create_pipeline function deserializes attacker-controlled checkpoint files through torch.load without weights_only=True, enabling arbitrary code execution when a victim loads a malicious model file. The flaw is local-vector and requires user interaction (CVSS 7.8, AV:L/AC:L/PR:N/UI:R), with code running at the privileges of the MimicMotion process-root-level impact only when the tool is run as root. An upstream commit adds safe_globals and weights_only=True; no public exploit was identified at time of analysis, and EPSS is 0.51% (42nd percentile).

RemediationAI

Apply the upstream fix commit 6907bdcc259a6a048d41a365e840d22274f9256c, which adds torch.serialization.safe_globals and weights_only=True to checkpoint loading, or upgrade to a tagged MimicMotion release that contains it once available; the commit is at https://github.com/Tencent/MimicMotion/commit/6907bdcc259a6a048d41a365e840d22274f9256c and the ZDI advisory is at https://www.zerodayinitiative.com/advisories/ZDI-25-1032/. Until a patched release is confirmed, load only trusted checkpoint files and avoid opening model files from untrusted sources-this limits functionality for legitimate third-party model sharing but blocks the deserialization path. Run MimicMotion under a least-privilege account rather than root to reduce the impact of code execution, noting that device and file-permission adjustments may be needed for GPU or model-cache access.

Affected ProductsAI

Tencent MimicMotion installations containing the vulnerable create_pipeline function in mimicmotion/utils/loader.py, which loads checkpoint files via torch.load without weights_only=True, are affected. The upstream fix is commit 6907bdcc259a6a048d41a365e840d22274f9256c; no CPE strings or discrete released-version numbers were provided in the input, so the exact released-version range is not independently confirmed. Consult the GitHub commit (https://github.com/Tencent/MimicMotion/commit/6907bdcc259a6a048d41a365e840d22274f9256c) and ZDI advisory ZDI-25-1032 (https://www.zerodayinitiative.com/advisories/ZDI-25-1032/) for vendor-side details.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This is a CWE-502 deserialization-of-untrusted-data issue in Tencent MimicMotion's Python model-loading path. The create_pipeline function in mimicmotion/utils/loader.py loads the user-supplied infer_config.ckpt_path via torch.load; before the fix, the absence of weights_only=True allowed PyTorch's pickle-based checkpoint deserialization to instantiate arbitrary objects and execute code. The upstream patch gates loading with torch.serialization.safe_globals and weights_only=True, restricting which globals may be resolved during unpickling. No CPE identifiers were supplied in the input; the vulnerable component is the PyTorch checkpoint-loading code, and exploitation depends on delivering a crafted checkpoint file or page that causes the target to load it rather than on an unauthenticated network service path.

Know when Pytorch gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (trendmicro) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Exploitation needs no attacker privileges (PR:N) but depends on the victim loading a malicious checkpoint file, so AV:L and UI:R; pickle RCE yields full C/I/A impact in the process context.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (trendmicro).

CVSS VectorVendor: trendmicro

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Tencent MimicMotion create_pipeline Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Tencent MimicMotion. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the create_pipeline function. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-27208.

Executive ViewAI

Why It Matters

Tencent MimicMotion, an AI video-generation tool, can execute arbitrary code when a user loads a malicious checkpoint file, putting model experimentation teams and shared AI infrastructure at risk. Because the tool is often run with elevated privileges and users routinely download third-party models, a single crafted file could compromise the host and any data or credentials it can reach. Leadership should treat this as an AI supply-chain exposure and prioritize controls around model provenance and least-privilege execution.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: avoid loading untrusted or unverified MimicMotion checkpoint files; run MimicMotion with least privilege and never as root; isolate model-loading workloads in containers or VMs with restricted network and filesystem access; enforce file provenance and integrity checks; apply the upstream commit that adds safe_globals and weights_only=True where feasible; monitor for suspicious model files.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Low
niche Tencent open-source AI video-generation research project
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2023-43654 CRITICAL POC
9.8 Sep 28

TorchServe is a tool for serving and scaling PyTorch models in production. Rated critical severity (CVSS 9.8), this vuln

CVE-2024-48063 CRITICAL POC
9.8 Oct 29

In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE. Rated critical severity (CVSS 9.8), this vulnerability is

CVE-2025-1945 CRITICAL POC
9.8 Mar 10

PickleScan before 0.0.23 can be bypassed by flipping specific ZIP file header flag bits, allowing malicious pickle files

CVE-2022-45907 CRITICAL POC
9.8 Nov 26

In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is

CVE-2026-24747 HIGH POC
8.8 Jan 27

PyTorch is a Python package that provides tensor computation. [CVSS 8.8 HIGH]

CVE-2024-8020 HIGH POC
7.5 Mar 20

A vulnerability in lightning-ai/pytorch-lightning version 2.3.2 allows an attacker to cause a denial of service by sendi

CVE-2026-65918 HIGH POC
7.1 Jul 23

Out-of-bounds heap read in PyTorch torchvision's native GIF decoder (versions through 0.28.0) lets attackers who supply

CVE-2025-1944 MEDIUM POC
6.5 Mar 10

picklescan before 0.0.23 is vulnerable to a ZIP archive manipulation attack that causes it to crash when attempting to e

CVE-2024-35198 CRITICAL
9.8 Jul 19

TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production. Rated critical sever

CVE-2025-32434 CRITICAL POC
9.3 Apr 18

PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built

CVE-2025-33244 CRITICAL
9.0 Mar 24

NVIDIA APEX for Linux contains a deserialization of untrusted data vulnerability that affects environments using PyTorch

CVE-2025-2953 MEDIUM POC
4.8 Mar 30

A vulnerability, which was classified as problematic, has been found in PyTorch 2.6.0+cu124. Rated medium severity (CVSS

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy