{"id":"PYSEC-2025-253","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","PYSEC-2026-427"],"modified":"2026-07-13T07:26:46.166540840Z","published":"2025-11-18T19:15:49.800Z","references":[{"type":"WEB","url":"https://github.com/modular/modular/blame/main/max/serve/kvcache_agent/kvcache_agent.py#L220"},{"type":"FIX","url":"https://github.com/modular/modular/commit/10620059fb5c47fb0c30e5d21a8ff3b8d622fba4"},{"type":"FIX","url":"https://github.com/modular/modular/commit/b20e749fa892dbe772e890a268002f732164d9f5"},{"type":"FIX","url":"https://github.com/modular/modular/commit/ee9c4ab02345dd30bed8b79771b6909ff1b930a1"},{"type":"FIX","url":"https://github.com/modular/modular/issues/4795"},{"type":"EVIDENCE","url":"https://www.oligo.security/blog/shadowmq-how-code-reuse-spread-critical-vulnerabilities-across-the-ai-ecosystem"}],"affected":[{"package":{"name":"max","ecosystem":"PyPI","purl":"pkg:pypi/max"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"25.6.0"}]}],"versions":["25.3.0","25.4.0","25.5.0"],"ecosystem_specific":{},"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/max/PYSEC-2025-253.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}