Skip to content

chore(deps): npm audit fix for high/medium security alerts#4109

Open
olaservo wants to merge 1 commit intomodelcontextprotocol:mainfrom
olaservo:security/npm-audit-fix-2026-05
Open

chore(deps): npm audit fix for high/medium security alerts#4109
olaservo wants to merge 1 commit intomodelcontextprotocol:mainfrom
olaservo:security/npm-audit-fix-2026-05

Conversation

@olaservo
Copy link
Copy Markdown
Member

@olaservo olaservo commented May 5, 2026

Summary

Runs npm audit fix (no --force, no breaking changes) to resolve open security alerts in package-lock.json. Addresses 9 of the 16 vulnerabilities npm audit reported, including all 6 high-severity ones.

Bumps

Package From To Severity
@hono/node-server 1.19.9 1.19.14 high (auth bypass) + medium
hono 4.11.7 4.12.17 high (serveStatic file access) + 6 others
express-rate-limit 8.2.1 8.5.0 high (IPv4-mapped IPv6 bypass)
path-to-regexp 8.3.0 8.4.2 high (DoS) + medium (ReDoS)
rollup 4.52.5 4.60.3 high (path traversal)
minimatch (3.x / 9.x / 10.x) various patched high (multiple ReDoS)
brace-expansion various patched medium (zero-step DoS)
ajv 8.17.1 8.20.0 medium (ReDoS)
qs 6.14.1 6.15.1 medium (DoS)
postcss 8.5.6 8.5.14 medium (XSS)

Remaining (out of scope)

7 moderate dev-only alerts in the vitest / vite / esbuild chain require a major vitest 4.x bump and are deferred to a separate PR.

Supersedes

Closes the contents of #3377 (minimatch 10.0.1 → 10.2.1) — this PR jumps the same range further to 10.2.5 and bundles other fixes.

Test plan

  • npm install resolves cleanly
  • npm run build succeeds across all 4 TS workspaces (everything, filesystem, memory, sequentialthinking)
  • npm test --workspaces --if-present passes (everything: 45, sequentialthinking: 14, filesystem suite passes)
  • npm audit count drops 16 → 7 (all remaining moderate, dev-only)

🤖 Generated with Claude Code

Bumps transitive npm dependencies via `npm audit fix` (no breaking changes):
- @hono/node-server 1.19.9 -> 1.19.14 (auth bypass via encoded slashes; serveStatic bypass)
- hono 4.11.7 -> 4.12.17 (multiple: serveStatic file access, cookie/SSE injection, IP matching, etc.)
- express-rate-limit 8.2.1 -> 8.5.0 (IPv4-mapped IPv6 bypass)
- path-to-regexp -> 8.4.2 (DoS via sequential optional groups / multi-wildcard ReDoS)
- rollup 4.52.5 -> 4.60.3 (arbitrary file write via path traversal)
- minimatch (3.x, 9.x, 10.x) -> patched (multiple ReDoS)
- brace-expansion -> patched (zero-step DoS)
- ajv 8.17.1 -> 8.20.0 (ReDoS in $data option)
- qs 6.14.1 -> 6.15.1 (arrayLimit bypass DoS)
- postcss 8.5.6 -> 8.5.14 (XSS in stringify output)

Build and tests pass across all TS workspaces. Remaining 7 moderate dev-only
alerts (vitest/vite/esbuild chain) require a major vitest 4.x bump and are
out of scope here.

Supersedes the contents of dependabot PR modelcontextprotocol#3377 (minimatch 10.0.1 -> 10.2.1).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant