CVE-2026-10732 Affecting mcp-mongodb package, versions <3.1.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.52% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-MCPMONGODB-21177325
  • published18 Oct 2026
  • disclosed5 Jun 2026

Introduced: 5 Jun 2026

CVE-2026-10732  (opens in a new tab)

How to fix?

Upgrade Minimos:latest mcp-mongodb to version 3.1.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mcp-mongodb package and not the mcp-mongodb package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

All versions of the package decompress are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) when extracting a ZIP archive containing two entries with the same path - the first being a symlink to an arbitrary target and the second being a regular file - the file content is written through the symlink to the target location outside the output directory. This is due to the microtask processing order that checks readlink for the second file before resolving symlink for the first file. An attacker can write arbitrary file on the host filesystem potentially leading to remote code execution by providing a specially crafted ZIP archive.

Note:

This bypasses all existing path traversal protections including preventWritingThroughSymlink, added as a part of the fix for CVE-2020-12265.

CVSS Base Scores

version 3.1