fix: resolve 4 open Dependabot security alerts via pnpm overrides#767
Merged
fix: resolve 4 open Dependabot security alerts via pnpm overrides#767
Conversation
Fix all 4 open Dependabot alerts by adding pnpm overrides for transitive dependencies that cannot be directly bumped: Root package.json: - rollup >=4.59.0 (was 4.54.0) — CVE-2026-27606: arbitrary file write via path traversal (High) - @tootallnate/once >=3.0.1 (was 2.0.0) — CVE-2026-3449: promise hangs indefinitely after AbortSignal abort (Low) docs/package.json: - rollup >=4.59.0 (was 4.54.0) — same CVE as above (High) - svgo >=4.0.1 (was 4.0.0) — CVE-2026-29074: DoS through entity expansion in DOCTYPE / Billion Laughs attack (High) All overrides follow the existing pattern already used for fast-xml-parser, minimatch, ajv, h3, and devalue in this repo.
Contributor
|
Address BugBot review feedback: - Use ^ instead of >= for rollup and svgo overrides to prevent accidental major version crossings (matches repo convention) - Drop @tootallnate/once override entirely since it forces an incompatible 2.x→3.x major version on http-proxy-agent@5. This was a low-severity dev-only alert — not worth the risk.
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
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.
Fix 3 of 4 open Dependabot alerts (all High severity) by adding pnpm overrides
for transitive dependencies that cannot be directly bumped.
Changes
Root
package.jsonoverrides:rollup ^4.59.0— CVE-2026-27606: arbitrary file write via path traversal (High)docs/package.jsonoverrides:rollup ^4.59.0— same CVE as above (High)svgo ^4.0.1— CVE-2026-29074: Billion Laughs DoS via DOCTYPE entity expansion (High)Not fixed
@tootallnate/once(Low severity, dev-only) — CVE-2026-3449: the fixrequires a 2.x→3.x major version jump which would break
http-proxy-agent@5(depended on by
teeny-request, used by@google-cloud/storage). Eventeeny-request@10still pinshttp-proxy-agent@^5, so there is no safeoverride. This needs an upstream fix.
Why overrides?
All vulnerabilities are in transitive dependencies where the direct parents
haven't released patches yet:
rollup: pulled in byvite(viavitestin root,astroin docs)svgo: pulled in byastroThis follows the existing pattern already used in this repo for
fast-xml-parser,minimatch,ajv,h3, anddevalue.