fix(deps): resolve dependabot alert 170 for rollup path traversal#2355
Merged
markscott-ms merged 1 commit intofinos:mainfrom Apr 17, 2026
Merged
Conversation
Upgrade @stoplight/spectral-ruleset-bundler 1.6.3 → 1.7.0, which pins rollup ~2.80.0 and clears GHSA-mw96-cpmx-2vgc / CVE-2026-27606 (arbitrary file write via path traversal in rollup < 2.80.0). The previous version-keyed override for bundler 1.6.x was not being applied, so replace it with a direct bundler pin. Signed-off-by: Matthew Bain <66839492+rocketstack-matt@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the root npm overrides to remediate Dependabot alert #170 (Rollup path traversal) by ensuring @stoplight/spectral-ruleset-bundler resolves to a version that depends on patched rollup.
Changes:
- Replaced a version-keyed override (not applied by npm) with a direct override pin of
@stoplight/spectral-ruleset-bundlerto1.7.0. - Updated
package-lock.jsonto reflect@stoplight/spectral-ruleset-bundler@1.7.0and its dependency onrollup@~2.80.0.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | Pins @stoplight/spectral-ruleset-bundler via root overrides to ensure a patched Rollup is selected. |
| package-lock.json | Locks the updated bundler version and updates the nested Rollup dependency to 2.80.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
markscott-ms
approved these changes
Apr 17, 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
Resolves Dependabot alert #170 — GHSA-mw96-cpmx-2vgc / CVE-2026-27606: arbitrary file write via path traversal in
rollup < 2.80.0.Chain:
@stoplight/spectral-cli@6.15.0→@stoplight/spectral-ruleset-bundler@1.6.3→rollup@2.79.2.Upgrading the bundler to
1.7.0(which is withinspectral-cli's existing^1.6.0range) pinsrollup: ~2.80.0, clearing the alert. The prior version-keyed override"@stoplight/spectral-ruleset-bundler@1.6.x": { "rollup": "2.80.0" }was not being applied by npm, so it has been replaced with a direct bundler pin.Type of Change
Affected Components
cli/)calm/)calm-ai/)calm-hub/)calm-hub-ui/)calm-server/)calm-widgets/)docs/)shared/)calm-plugins/vscode/)Testing
Verification:
npm ls rollupnow showsrollup@2.80.0under@stoplight/spectral-ruleset-bundler@1.7.0(top-level rollup remains4.60.1, already patched for the same CVE).npm auditno longer reports rollup.npm run build:sharedsucceeds.npm run test:sharedpasses except for one pre-existing failure indocusaurus/package.spec.tsthat reproduces onmainand is unrelated to this change.Checklist