Modular Max Serve has Unsafe Deserialization vulnerability
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | max | < 25.6.0 | 25.6.0 |
| Python (PyPI) | modular | < 25.6.0 | 25.6.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-60455
- https://github.com/modular/modular/issues/4795
- https://github.com/modular/modular/commit/10620059fb5c47fb0c30e5d21a8ff3b8d622fba4
- https://github.com/modular/modular/commit/b20e749fa892dbe772e890a268002f732164d9f5
- https://github.com/modular/modular/commit/ee9c4ab02345dd30bed8b79771b6909ff1b930a1
- https://github.com/modular/modular
- https://github.com/modular/modular/blame/main/max/serve/kvcache_agent/kvcache_agent.py#L220
- https://www.oligo.security/blog/shadowmq-how-code-reuse-spread-critical-vulnerabilities-across-the-ai-ecosystem
- https://pypi.org/project/modular
- https://github.com/advisories/GHSA-7xcv-9j6c-2fmc
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- Weakness (CWE)
CWE-502- Platform
- Python (PyPI)
- Package
max, modular- Disclosed
- 18.11.2025
- Updated
- 11.10.2026 14:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2025-253 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-7xcv-9j6c-2fmc - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-427 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: modular
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.