CVE-2025-60455: 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.
References
- github.com/advisories/GHSA-7xcv-9j6c-2fmc
- github.com/modular/modular
- github.com/modular/modular/blame/main/max/serve/kvcache_agent/kvcache_agent.py
- github.com/modular/modular/commit/10620059fb5c47fb0c30e5d21a8ff3b8d622fba4
- github.com/modular/modular/commit/b20e749fa892dbe772e890a268002f732164d9f5
- github.com/modular/modular/commit/ee9c4ab02345dd30bed8b79771b6909ff1b930a1
- github.com/modular/modular/issues/4795
- nvd.nist.gov/vuln/detail/CVE-2025-60455
- www.oligo.security/blog/shadowmq-how-code-reuse-spread-critical-vulnerabilities-across-the-ai-ecosystem
Code Behaviors & Features
Detect and mitigate CVE-2025-60455 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →