Skip to content

fix(deps): override rollup 2.x to 2.80.0 to resolve CVE-2026-27606#2177

Merged
markscott-ms merged 1 commit intofinos:mainfrom
rocketstack-matt:fix/rollup-v2-vulnerability
Feb 26, 2026
Merged

fix(deps): override rollup 2.x to 2.80.0 to resolve CVE-2026-27606#2177
markscott-ms merged 1 commit intofinos:mainfrom
rocketstack-matt:fix/rollup-v2-vulnerability

Conversation

@rocketstack-matt
Copy link
Member

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

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📚 Documentation update
  • 🎨 Code style/formatting changes
  • ♻️ Refactoring (no functional changes)
  • ⚡ Performance improvements
  • ✅ Test additions or updates
  • 🔧 Chore (maintenance, dependencies, CI, etc.)

Affected Components

  • CLI (cli/)
  • Shared (shared/)
  • CALM Widgets (calm-widgets/)
  • CALM Hub (calm-hub/)
  • CALM Hub UI (calm-hub-ui/)
  • Documentation (docs/)
  • VS Code Extension (calm-plugins/vscode/)
  • Dependencies
  • CI/CD

Commit Message Format ✅

Testing

  • I have tested my changes locally
  • I have added/updated unit tests
  • All existing tests pass

Checklist

  • My commits follow the conventional commit format
  • I have updated documentation if necessary
  • I have added tests for my changes (if applicable)
  • My changes follow the project's coding standards

Copilot AI review requested due to automatic review settings February 26, 2026 15:11
@rocketstack-matt rocketstack-matt requested a review from a team as a code owner February 26, 2026 15:11
@rocketstack-matt rocketstack-matt force-pushed the fix/rollup-v2-vulnerability branch from 7eb1c46 to 7299829 Compare February 26, 2026 15:13
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 overrides entry to force @stoplight/spectral-ruleset-bundler to use rollup@2.80.0.
  • Regenerate package-lock.json, updating transitive Rollup 4.x artifacts to 4.59.0 and recording rollup@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.
@rocketstack-matt rocketstack-matt force-pushed the fix/rollup-v2-vulnerability branch from 7299829 to b7393c9 Compare February 26, 2026 15:20
@markscott-ms markscott-ms merged commit 783236c into finos:main Feb 26, 2026
13 checks passed
@rocketstack-matt rocketstack-matt deleted the fix/rollup-v2-vulnerability branch February 26, 2026 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants