CVE-2025-60455 Modular Max Serve has Unsafe Deserialization vulnerability
Attackers can execute arbitrary code via unsafe deserialization in Modular Max Serve when the experimental KV cache agent feature is enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-60455?
CVE-2025-60455 is a high-severity unsafe deserialization vulnerability in n/a, published on 18 Nov 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Unsafe Deserialization vulnerability in Modular Max Serve before 25.6, specifically when the "--experimental-enable-kvcache-agent" feature is used allowing attackers to execute arbitrary code.
Weakness: CWE-502
Which versions are affected by CVE-2025-60455?
4 open source packages ship an affected version, including modular and max. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
modular PyPI | All versions | 25.6.0 |
modular PyPI | All versions | 25.6.0 |
modular PyPI | All versions | 25.6.0 |
max PyPI | All versions | 25.6.0 |
Products include Modular Max.
How do I fix CVE-2025-60455?
Upgrade modular to 25.6.0 or later.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2025-60455 being exploited?
There is no known exploitation of CVE-2025-60455 in the wild and no public exploit code.
Sources
Also known as GHSA-7xcv-9j6c-2fmc, PYSEC-2025-253, PYSEC-2026-427.