Skip to content

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

Merged
a-akimov merged 1 commit into
modelcontextprotocol:mainfrom
olaservo:security/npm-audit-fix-2026-05
May 16, 2026
Merged

chore(deps): npm audit fix for high/medium security alerts#4109
a-akimov merged 1 commit into
modelcontextprotocol: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

@a-akimov
Copy link
Copy Markdown
Contributor

@olaservo would you mind resolving the conflicts, please, so that I can approve it?

@olaservo olaservo force-pushed the security/npm-audit-fix-2026-05 branch from acb344a to 4358b82 Compare May 16, 2026 15:50
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).
@olaservo olaservo force-pushed the security/npm-audit-fix-2026-05 branch from 4358b82 to 3f40d6e Compare May 16, 2026 15:54
@olaservo
Copy link
Copy Markdown
Member Author

@a-akimov done!

@a-akimov a-akimov merged commit 97ba6b3 into modelcontextprotocol:main May 16, 2026
19 checks passed
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.

2 participants