Authentication Bypass Affecting mcp-mongodb package, versions <3.2.2-r2


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.4% (37th 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-CHAINGUARDLATEST-MCPMONGODB-23352878
  • published3 Dec 2026
  • disclosed13 Nov 2026

Introduced: 13 Nov 2026

NewCVE-2026-126357  (opens in a new tab)
CWE-288  (opens in a new tab)

How to fix?

Upgrade Chainguard mcp-mongodb to version 3.2.2-r2 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 Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.13.16, mount() and app.mount() can remove a dynamic mount prefix using the route-pattern length rather than the matched-prefix length, allowing a crafted path to be forwarded as a protected inner route while the outer application routes the original path. Since 4.12.21, rebuilding the forwarded URL from the decoded pathname can also convert a decoded backslash to a slash and collapse parent-directory segments, again causing the mounted application to receive a protected path. An unauthenticated client can use either applicable path transformation to reach a mounted route without authentication or authorization middleware scoped to a subpath inside the mount prefix. This issue is fixed in version 4.13.16.

CVSS Base Scores

version 3.1