fix(deps): override rollup 2.x to 2.80.0 to resolve CVE-2026-27606#2177
Merged
markscott-ms merged 1 commit intofinos:mainfrom Feb 26, 2026
Merged
Conversation
7eb1c46 to
7299829
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR addresses CVE-2026-27606 by forcing a safe Rollup 2.x version for @stoplight/spectral-ruleset-bundler, and refreshes the lockfile to newer Rollup 4.x transitive versions.
Changes:
- Add an npm
overridesentry to force@stoplight/spectral-ruleset-bundlerto userollup@2.80.0. - Regenerate
package-lock.json, updating transitive Rollup 4.x artifacts to4.59.0and recordingrollup@2.80.0.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Adds a scoped override to force rollup@2.80.0 under @stoplight/spectral-ruleset-bundler. |
| package-lock.json | Updates the resolved Rollup packages (2.80.0 at root; 4.59.0 for various nested consumers) to reflect the override and latest compatible transitive versions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
@stoplight/spectral-ruleset-bundler@1.6.3 hard-pins rollup ~2.79.2 which is vulnerable (< 2.80.0) and there is no upstream fix available. Added a scoped npm override to force resolution to 2.80.0. Also updates transitive rollup 4.x dependencies to 4.59.0.
7299829 to
b7393c9
Compare
markscott-ms
approved these changes
Feb 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
@stoplight/spectral-ruleset-bundler@1.6.3 hard-pins rollup ~2.79.2 which is vulnerable (< 2.80.0) and there is no upstream fix available. Added a scoped npm override to force resolution to 2.80.0.
Also updates transitive rollup 4.x dependencies to 4.59.0.
Type of Change
Affected Components
cli/)shared/)calm-widgets/)calm-hub/)calm-hub-ui/)docs/)calm-plugins/vscode/)Commit Message Format ✅
Testing
Checklist