---
id: CVE-2025-60455
aliases:
  - GHSA-7xcv-9j6c-2fmc
  - PYSEC-2025-253
  - PYSEC-2026-427
title: Modular Max Serve has Unsafe Deserialization vulnerability
summary: Modular Max Serve has Unsafe Deserialization vulnerability
severity: critical
vendor: modular
product: modular
ecosystem: pip
affected:
  - modular < 25.6.0
patched:
  - modular 25.6.0
published: '2025-11-18'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-7xcv-9j6c-2fmc'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-60455'
  - url: 'https://github.com/modular/modular/issues/4795'
  - url: >-
      https://github.com/modular/modular/commit/10620059fb5c47fb0c30e5d21a8ff3b8d622fba4
  - url: >-
      https://github.com/modular/modular/commit/b20e749fa892dbe772e890a268002f732164d9f5
  - url: >-
      https://github.com/modular/modular/commit/ee9c4ab02345dd30bed8b79771b6909ff1b930a1
  - url: 'https://github.com/modular/modular'
  - url: >-
      https://github.com/modular/modular/blame/main/max/serve/kvcache_agent/kvcache_agent.py#L220
  - url: >-
      https://www.oligo.security/blog/shadowmq-how-code-reuse-spread-critical-vulnerabilities-across-the-ai-ecosystem
tags:
  - osv
  - pip
epss: 0.0031
epssPercentile: 0.24088
ingestedAt: '2026-07-13T18:57:54.766Z'
---

## Overview

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.

## Affected packages

- `modular < 25.6.0`

## Remediation

Upgrade to a patched release:

- `modular 25.6.0`
