Skip to content

deps: @hono/node-server 1.x -> 2.x (path traversal on Windows) #4401

Closed

Description

@cixzhang

@hono/node-server 1.19.14 (transitive via @modelcontextprotocol/sdk) is vulnerable to path traversal in serve-static on Windows via encoded backslash (%5C).

Patched in @hono/node-server 2.0.5 (major version bump).

Current chain: @modelcontextprotocol/[email protected] -> @hono/[email protected]

Required: @hono/node-server >=2.0.5

Risk: Major version bump. The vulnerability only affects Windows deployments using serve-static, so practical risk for this repo is low (dev tooling, Linux CI). Fix likely requires @modelcontextprotocol/sdk to release a version that depends on @hono/node-server 2.x, or a targeted pnpm override. Low urgency given the Linux-only usage.

Dependabot alert: #106

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependencies

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions