---
id: "CVE-2025-60455"
page: "https://infrastack.ai/live/CVE-2025-60455"
kind: "vulnerability"
aliases: ["CVE-2025-60455", "GHSA-7xcv-9j6c-2fmc"]
title: "Modular Max Serve has Unsafe Deserialization vulnerability"
severity: "critical"
cvss: 8.4
epss: 0.00333
exploited: false
status: "open"
category: "ai-tooling"
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"]
published_at: "2025-11-18T19:15:49+00:00"
first_seen_at: "2026-11-16T15:27:32+00:00"
updated_at: "2026-11-16T15:37:59+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-7xcv-9j6c-2fmc", "first_seen_at": "2026-11-16T15:27:32+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-60455", "first_seen_at": "2026-11-16T15:37:59+00:00"}]
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"}]
---

# Modular Max Serve has Unsafe Deserialization vulnerability

Link for people: https://infrastack.ai/live/CVE-2025-60455 (this .md is for agents)

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.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- pypi:modular affected < 25.6.0 fixed 25.6.0
- pypi:max affected < 25.6.0 fixed 25.6.0
- vendor:modular max affected < 25.6.0 fixed 25.6.0

## How to check

- Check the installed version with `pip show modular` and `pip show max`; anything below `25.6.0` is affected.
- 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.

## Timeline

- 2026-11-16T15:27:32+00:00 ghsa https://github.com/advisories/GHSA-7xcv-9j6c-2fmc
- 2026-11-16T15:37:59+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2025-60455

## Documents

- [fix] Patch: github.com https://github.com/modular/modular/commit/10620059fb5c47fb0c30e5d21a8ff3b8d622fba4
- [fix] Patch: github.com https://github.com/modular/modular/commit/b20e749fa892dbe772e890a268002f732164d9f5
- [fix] Patch: github.com https://github.com/modular/modular/commit/ee9c4ab02345dd30bed8b79771b6909ff1b930a1
- [fix] Patch: github.com https://github.com/modular/modular/issues/4795
- [poc] Exploit: www.oligo.security https://www.oligo.security/blog/shadowmq-how-code-reuse-spread-critical-vulnerabilities-across-the-ai-ecosystem

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
