Skip to content

fix CVE-2026-104850 by updating @modelcontextprotocol/sdk to patched version - #847

Open
sbouchet wants to merge 3 commits into
che-incubator:mainfrom
sbouchet:CVE-2026-104850
Open

sbouchet wants to merge 3 commits into
che-incubator:mainfrom
sbouchet:CVE-2026-104850

Conversation

@sbouchet

@sbouchet sbouchet commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

What does this PR do?

This PR fixes CVE-2026-104850
@modelcontextprotocol/sdk version is updated to 1.32.2

What issues does this PR fix?

https://redhat.atlassian.net/browse/CRW-13589
https://redhat.atlassian.net/browse/CRW-13976

How to test this PR?

Does this PR contain changes that override default upstream Code-OSS behavior?

  • the PR contains changes in the code folder (you can skip it if your changes are placed in a che extension )
  • the corresponding items were added to the CHANGELOG.md file
  • rules for automatic git rebase were added to the .rebase folder

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Click here to review and test in web IDE: Contribute

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

1 similar comment
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

@sbouchet
sbouchet force-pushed the CVE-2026-104850 branch 2 times, most recently from 6a44f1d to b9ee503 Compare November 6, 2026 16:06
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

sbouchet and others added 3 commits November 16, 2026 17:45
…version

Bump @modelcontextprotocol/sdk to ^1.32.2 across all affected workspaces:
- code/test/mcp and code/extensions/copilot: direct dep
- code/ and code/build/agent-sdk/agents/claude: npm override
  (sdk is a transitive peer dep of @anthropic-ai/claude-agent-sdk)

1.32.2 also clears the related sdk advisories fixed in 1.32.0.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Stephane Bouchet <sbouchet@redhat.com>
Protect the CVE-2026-104850 fix across upstream rebases:
- add rules for the npm overrides in code/package.json and
  code/build/agent-sdk/agents/claude/package.json
- override rules for the direct dep bumps in code/extensions/copilot
  and code/test/mcp

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Stephane Bouchet <sbouchet@redhat.com>
Signed-off-by: Stephane Bouchet <sbouchet@redhat.com>
@sbouchet
sbouchet marked this pull request as ready for review November 16, 2026 16:47
@coderabbitai

coderabbitai Bot commented Nov 16, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 22 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 9f6a7b1 and e50acda.

Files ignored due to path filters: 4

  • code/build/agent-sdk/agents/claude/package-lock.json is excluded by !**/package-lock.json
  • code/extensions/copilot/package-lock.json is excluded by !**/package-lock.json
  • code/package-lock.json is excluded by !**/package-lock.json
  • code/test/mcp/package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 9

  • .rebase/CHANGELOG.md
  • .rebase/add/code/build/agent-sdk/agents/claude/package.json
  • .rebase/add/code/package.json
  • .rebase/override/code/extensions/copilot/package.json
  • .rebase/override/code/test/mcp/package.json
  • code/build/agent-sdk/agents/claude/package.json
  • code/extensions/copilot/package.json
  • code/package.json
  • code/test/mcp/package.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

Copy link
Copy Markdown
Contributor

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