{"id":"PYSEC-2026-427","summary":"Modular Max Serve has Unsafe Deserialization vulnerability","details":"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.","aliases":["CVE-2025-60455","GHSA-7xcv-9j6c-2fmc"],"modified":"2026-07-01T20:22:58.530561Z","published":"2026-06-29T11:50:36.347186Z","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-60455"},{"type":"WEB","url":"https://github.com/modular/modular/issues/4795"},{"type":"WEB","url":"https://github.com/modular/modular/commit/10620059fb5c47fb0c30e5d21a8ff3b8d622fba4"},{"type":"WEB","url":"https://github.com/modular/modular/commit/b20e749fa892dbe772e890a268002f732164d9f5"},{"type":"WEB","url":"https://github.com/modular/modular/commit/ee9c4ab02345dd30bed8b79771b6909ff1b930a1"},{"type":"PACKAGE","url":"https://github.com/modular/modular"},{"type":"WEB","url":"https://github.com/modular/modular/blame/main/max/serve/kvcache_agent/kvcache_agent.py#L220"},{"type":"WEB","url":"https://www.oligo.security/blog/shadowmq-how-code-reuse-spread-critical-vulnerabilities-across-the-ai-ecosystem"},{"type":"PACKAGE","url":"https://pypi.org/project/modular"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-7xcv-9j6c-2fmc"}],"affected":[{"package":{"name":"modular","ecosystem":"PyPI","purl":"pkg:pypi/modular"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"25.6.0"}]}],"versions":["25.3.0","25.4.0","25.5.0"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/modular/PYSEC-2026-427.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}