Skip to content

Conversation

@hlovdal
Copy link

@hlovdal hlovdal commented Dec 2, 2025

Version 1.24.0 fixes GHSA-w48q-cv73-mx4w.

PR Checklist

Please check to confirm your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

npm audit complains due to issue with @modelcontextprotocol/sdk dependency.

What is the new behavior?

npm audit does not complain due to issue with @modelcontextprotocol/sdk dependency.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

pnpm install rejects to install the new version due to minimumReleaseAge policy, so the lock file is not updated in this PR and this is not tested. So this PR is not complete but more a heads up on dependency update required. Feel free to come with updates to the branch.

@angular-robot angular-robot bot added area: build & ci Related the build and CI infrastructure of the project area: @angular/cli labels Dec 2, 2025
@hlovdal
Copy link
Author

hlovdal commented Dec 2, 2025

In my initial angular project repository where @angular/cli is a dependency I added the following as a workaround

   "overrides": {
    "@angular/cli": {
      "@modelcontextprotocol/sdk": "1.24.0"
    }
   }

but it would be nice to have this fixed upstream.

@clydin
Copy link
Member

clydin commented Dec 3, 2025

Thank you for the contribution.

However, Renovate will automatically update the dependency once the minimum age threshold has been reached.

Also of note is that the linked report does not affect the Angular CLI since it uses a stdio-based MCP server. Unfortunately, there is no mechanism to mark it as such.

@clydin clydin closed this Dec 3, 2025
@alan-agius4 alan-agius4 mentioned this pull request Dec 3, 2025
13 tasks
@jpmartins-ca
Copy link

Thank you for the contribution.

However, Renovate will automatically update the dependency once the minimum age threshold has been reached.

Also of note is that the linked report does not affect the Angular CLI since it uses a stdio-based MCP server. Unfortunately, there is no mechanism to mark it as such.

Hello. Is there any prediction on when the update will be done, and the release with the fix? Thanks.

@alan-agius4
Copy link
Collaborator

alan-agius4 commented Dec 3, 2025

This will be released later today.

@hlovdal
Copy link
Author

hlovdal commented Dec 3, 2025

@jpmartins-ca This was done in commit f1a7116 ("fix(@angular/cli): update @modelcontextprotocol/sdk to v1.24.0", 2025-12-01) which was included in release 21.0.2 and commit cfbb616 ("fix(@angular/cli): update @modelcontextprotocol/sdk to v1.24.0", 2025-12-01) which was included in release 20.3.13.

@jpmartins-ca
Copy link

@jpmartins-ca This was done in commit f1a7116 ("fix(@angular/cli): update @modelcontextprotocol/sdk to v1.24.0", 2025-12-01) which was included in release 21.0.2 and commit cfbb616 ("fix(@angular/cli): update @modelcontextprotocol/sdk to v1.24.0", 2025-12-01) which was included in release 20.3.13.

Thank you for pointing this out. This change achieves the desired outcome. Well done!

However, I did notice two minor issues. Firstly, the latest version (1.24.1) was not used. Secondly, the new version was unusable for about half an hour after its release. It appeared to be synchronising with the repository. During this process, there was a brief inconsistency with a dependency that could not be found because it was still synchronising.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area: @angular/cli area: build & ci Related the build and CI infrastructure of the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants