CVE-2025-3622 Xorbits Inference model.py load deserialization

Medium 5.1 Published Updated

Attackers can execute arbitrary code via unsafe deserialization in the model loading function of Xorbits Inference.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-3622?

CVE-2025-3622 is a medium-severity unsafe deserialization vulnerability in Xorbits Inference, published on 15 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability, which was classified as critical, has been found in Xorbits Inference up to 1.4.1. This issue affects the function load of the file xinference/thirdparty/cosyvoice/cli/model.py. The manipulation leads to deserialization.

Weakness: CWE-502, CWE-20

Which versions are affected by CVE-2025-3622?

How do I fix CVE-2025-3622?

No fix has been published for CVE-2025-3622 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2025-3622 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-3622 exists.

Sources

Also known as GHSA-whpg-7794-8rqm.

Is CVE-2025-3622 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free