{"id":"CVE-2025-60455","kind":"vulnerability","aliases":["CVE-2025-60455","GHSA-7xcv-9j6c-2fmc"],"related":[],"title":"Modular Max Serve has Unsafe Deserialization vulnerability","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.","summary":"MAX Serve, the model serving component of the Modular MAX and modular packages, deserializes untrusted data when the experimental KV cache agent is enabled. An attacker who can send that data can execute arbitrary code on the server.","severity":"critical","cvss":8.4,"epss":0.00333,"exploited":false,"exploited_at":null,"products":[{"name":"modular","fixed":["25.6.0"],"affected":"< 25.6.0","ecosystem":"pypi"},{"name":"max","fixed":["25.6.0"],"affected":"< 25.6.0","ecosystem":"pypi"},{"name":"modular max","fixed":["25.6.0"],"affected":"< 25.6.0","ecosystem":"vendor"}],"ecosystems":["pypi","vendor"],"tags":["ai-inference","ai-tooling","cwe-502","max-serve","modular","python"],"not_affected_if":["default-config","version-25.6.0-or-later"],"how_to_check":"- Check the installed version with `pip show modular` and `pip show max`; anything below `25.6.0` is affected.\n- Look for the `--experimental-enable-kvcache-agent` flag in server launch commands, service files or container definitions.","fix":"- `modular` and `max` move to `25.6.0` or later.","status":"open","published_at":"2025-11-18T19:15:49+00:00","first_seen_at":"2026-11-16T15:27:32+00:00","triaged_at":"2026-11-16T15:29:41+00:00","updated_at":"2026-11-16T15:37:59+00:00","category":"ai-tooling","confidence":0.7,"triage":{"at":"2026-11-16T15:29:41Z","model":"claude-haiku-5-5","output":{"fix":"- `modular` and `max` move to `25.6.0` or later.","reach":"unknown","title":"Modular MAX Serve: unsafe deserialization lets attackers run code","impact":"high","summary":"MAX Serve, the model serving component of the Modular MAX and modular packages, deserializes untrusted data when the experimental KV cache agent is enabled. An attacker who can send that data can execute arbitrary code on the server.","audience":"developers","category":"ai-tooling","nicknames":[],"who_cares":["python","modular","max-serve","ai-inference"],"confidence":0.7,"fix_status":"available","needs_auth":"unknown","worst_case":"Attacker runs arbitrary code on the MAX Serve host.","analyst_note":"","how_to_check":"- Check the installed version with `pip show modular` and `pip show max`; anything below `25.6.0` is affected.\n- Look for the `--experimental-enable-kvcache-agent` flag in server launch commands, service files or container definitions.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["default-config","version-25.6.0-or-later"],"who_is_affected":"Only deployments running MAX Serve below 25.6.0 with the experimental KV cache agent turned on are exposed. Servers that run the default configuration, or that do not serve MAX to untrusted network clients, are less exposed, but the sources do not say how reachable the deserialization path is from the network.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"critical"},"cost_usd":0.000737,"input_tokens":4622,"output_tokens":549,"severity_before":"critical"},"analyst_status":null,"analyst_note":null,"search":"'-2025':9A,17A '-502':30B '-60455':10A,18A '25.6':82C '2fmc':15A '7xcv':13A '9j6c':14A 'agent':57B,90C 'ai':24B,27B 'ai-infer':23B 'ai-tool':26B 'allow':94C 'arbitrari':69B,98C 'attack':61B,95C 'cach':56B 'code':70B,99C 'compon':41B 'cve':8A,16A 'cwe':29B 'data':51B,66B 'deseri':6A,49B,75C 'enabl':59B,88C 'execut':68B,97C 'experiment':54B,87C 'experimental-enable-kvcache-ag':86C 'featur':91C 'ghsa':12A 'ghsa-7xcv-9j6c-2fmc':11A 'infer':25B 'kv':55B 'kvcach':89C 'max':2A,20A,22A,32B,36B,45B,79C 'max-serv':31B 'model':39B 'modular':1A,19A,21A,34B,44B,47B,78C 'packag':48B 'python':35B 'send':64B 'serv':3A,33B,37B,40B,80C 'server':73B 'specif':83C 'tool':28B 'unsaf':5A,74C 'untrust':50B 'use':93C 'vulner':7A,76C","nicknames":[],"mitigations":[],"who_affected":"Only deployments running MAX Serve below 25.6.0 with the experimental KV cache agent turned on are exposed. Servers that run the default configuration, or that do not serve MAX to untrusted network clients, are less exposed, but the sources do not say how reachable the deserialization path is from the network.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":["max","modular","modularmax"],"ptokens":["max","modular"],"labels":["aiinference","aitooling","critical","cwe502","maxserve","modular","pypi","python","vendor"],"campaign_type":null,"search_a":"'-2025':9A,17A '-60455':10A,18A '2fmc':15A '7xcv':13A '9j6c':14A 'cve':8A,16A 'deseri':6A 'ghsa':12A 'ghsa-7xcv-9j6c-2fmc':11A 'max':2A,20A,22A 'modular':1A,19A,21A 'serv':3A 'unsaf':5A 'vulner':7A","search_b":"'-502':30B 'agent':57B 'ai':24B,27B 'ai-infer':23B 'ai-tool':26B 'arbitrari':69B 'attack':61B 'cach':56B 'code':70B 'compon':41B 'cwe':29B 'data':51B,66B 'deseri':49B 'enabl':59B 'execut':68B 'experiment':54B 'infer':25B 'kv':55B 'max':32B,36B,45B 'max-serv':31B 'model':39B 'modular':34B,44B,47B 'packag':48B 'python':35B 'send':64B 'serv':33B,37B,40B 'server':73B 'tool':28B 'untrust':50B","search_c":"'25.6':82C 'agent':90C 'allow':94C 'arbitrari':98C 'attack':95C 'code':99C 'deseri':75C 'enabl':88C 'execut':97C 'experiment':87C 'experimental-enable-kvcache-ag':86C 'featur':91C 'kvcach':89C 'max':79C 'modular':78C 'serv':80C 'specif':83C 'unsaf':74C 'use':93C 'vulner':76C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2025-11-18T19:15:49+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cvss_by":"134c704f-9b21-4f2e-91b3-4a467353bcc0","poc_count":1,"sources":[{"source":"ghsa","external_id":"GHSA-7xcv-9j6c-2fmc","url":"https://github.com/advisories/GHSA-7xcv-9j6c-2fmc","severity":"critical","published_at":"2025-11-18T21:32:31+00:00","modified_at":"2026-11-16T15:22:34+00:00","first_seen_at":"2026-11-16T15:27:32+00:00","fetched_at":"2026-11-16T15:36:40+00:00","note":null},{"source":"nvd","external_id":"CVE-2025-60455","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-60455","severity":null,"published_at":"2025-11-18T19:15:49+00:00","modified_at":"2026-11-05T14:10:00+00:00","first_seen_at":"2026-11-16T15:37:59+00:00","fetched_at":"2026-11-16T15:37:59+00:00","note":null}],"documents":[{"id":170399,"url":"https://github.com/modular/modular/commit/10620059fb5c47fb0c30e5d21a8ff3b8d622fba4","title":"Patch: github.com","kind":"other","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":170400,"url":"https://github.com/modular/modular/commit/b20e749fa892dbe772e890a268002f732164d9f5","title":"Patch: github.com","kind":"other","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":170401,"url":"https://github.com/modular/modular/commit/ee9c4ab02345dd30bed8b79771b6909ff1b930a1","title":"Patch: github.com","kind":"other","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":170654,"url":"https://github.com/modular/modular/issues/4795","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":170655,"url":"https://www.oligo.security/blog/shadowmq-how-code-reuse-spread-critical-vulnerabilities-across-the-ai-ecosystem","title":"Exploit: www.oligo.security","kind":"poc","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"poc","confidence":null,"note":"Exploit: www.oligo.security"}],"disclosures":[],"exploit_sources":[{"type":"poc","url":"https://www.oligo.security/blog/shadowmq-how-code-reuse-spread-critical-vulnerabilities-across-the-ai-ecosystem"},{"type":"epss","score":0.00333,"url":"https://api.first.org/data/v1/epss?cve=CVE-2025-60455"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}