Skip to content

fix(deps): Address Dependabot security vulnerabilities - #752

Merged
dcramer merged 1 commit into
mainfrom
fix/dependabot-security-vulnerabilities
Jan 30, 2026
Merged

dcramer merged 1 commit into
mainfrom
fix/dependabot-security-vulnerabilities

Conversation

@dcramer

@dcramer dcramer commented Jan 30, 2026

Copy link
Copy Markdown
Member

Summary

  • Updates direct dependencies to address 23 open Dependabot security alerts
  • Adds pnpm overrides for transitive dependencies that cannot be updated directly
  • Migrates react-router-dom and wrangler in mcp-cloudflare to use catalog references

Direct dependency updates (catalog)

Package From To CVEs
@modelcontextprotocol/sdk ^1.21.0 ^1.25.2 ReDoS, DNS rebinding
hono ^4.11.4 ^4.11.7 XSS, key read, cache, IP spoofing
wrangler ^4.45.0 ^4.59.1 Command injection
@cloudflare/workers-types ^4.20251014.0 ^4.20260128.0 (peer dep)
react-router-dom ^7.11.0 ^7.12.0 XSS, CSRF

Transitive dependency overrides

Package From To CVEs
tar 7.4.3 >=7.5.7 Path traversal, symlink poisoning
seroval 1.3.2 >=1.4.1 DoS, RCE, prototype pollution
qs 6.14.0 >=6.14.1 DoS
lodash 4.17.21 >=4.17.23 Prototype pollution
undici 7.14.0 >=7.18.2 Decompression DoS
js-yaml 4.1.0 >=4.1.1 Prototype pollution
diff 8.0.2 >=8.0.3 DoS

Test plan

  • pnpm install succeeds
  • pnpm run tsc passes
  • pnpm run lint passes
  • pnpm run test passes (628 tests)
  • CI passes
  • Verify Dependabot alerts are resolved after merge

🤖 Generated with Claude Code

Update direct dependencies in catalog:
- @modelcontextprotocol/sdk: ^1.21.0 → ^1.25.2 (ReDoS, DNS rebinding)
- hono: ^4.11.4 → ^4.11.7 (XSS, key read, cache, IP spoofing)
- wrangler: ^4.45.0 → ^4.59.1 (command injection)
- @cloudflare/workers-types: ^4.20251014.0 → ^4.20260128.0
- react-router-dom: ^7.11.0 → ^7.12.0 (XSS, CSRF)

Add pnpm overrides for transitive dependencies:
- tar: >=7.5.7 (path traversal, symlink poisoning)
- seroval: >=1.4.1 (DoS, RCE, prototype pollution)
- qs: >=6.14.1 (DoS)
- lodash: >=4.17.23 (prototype pollution)
- undici: >=7.18.2 (decompression DoS)
- js-yaml: >=4.1.1 (prototype pollution)
- diff: >=8.0.3 (DoS)

Also migrated react-router-dom and wrangler in mcp-cloudflare to use
catalog references for consistency.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@dcramer
dcramer merged commit 384da28 into main Jan 30, 2026
13 checks passed
@dcramer
dcramer deleted the fix/dependabot-security-vulnerabilities branch January 30, 2026 23:53
@dcramer

dcramer commented Jan 30, 2026

Copy link
Copy Markdown
Member Author

this might have broken thigns.. guessing due to wrangler or mcp...

dcramer added a commit that referenced this pull request Jan 31, 2026
This reverts commit 384da28.

Broke prod. I think access token not getting passsed but hard to say as no spike in errors.
dcramer added a commit that referenced this pull request Jan 31, 2026
#753)

This reverts commit 384da28.

Broke prod. I think access token not getting passsed but hard to say as
no spike in errors.
dcramer added a commit that referenced this pull request Jan 31, 2026
Addresses investigation from #756. When a user's token has an empty or
invalid grantedSkills array, the server returns a 400 error but
previously had no logging, making it impossible to diagnose root causes.

Changes:
- Add logWarn when grantedSkills validation fails with 400 response
- Log raw grantedSkills value, type, and array status for diagnosis
- Add test coverage for empty and invalid grantedSkills scenarios

This will help diagnose future occurrences of the issue seen after
the MCP SDK upgrade attempt in #752.

Refs: #756

Co-Authored-By: Claude Opus 4.5 <[email protected]>
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