Repository navigation
fix(deps): bump nx to 22.7.9 for security advisories - #1685
Merged
Merged
Conversation
…exposure, and Zip-Slip advisories Bump nx and @nx/* from 22.5.3 to 22.7.9: - GHSA-w2vw-w76x-qr89: OS command injection via git revisions and remote refs (patched in 22.7.8) - GHSA-w3vv-58gj-gw77: daemon and plugin worker sockets accessible to other local users (patched in 22.7.9) - GHSA-vp3h-ghgh-jr7g: Zip-Slip in the self-hosted remote cache (patched in 22.7.7) Verified: lint (4 projects), build (18 projects), test (19 projects), rebuilt bundled action artifacts. Fixes DX-5545, DX-5544, DX-5540, DX-5538, DX-4948, DX-4947
Contributor
|
👋 kalverra, thanks for creating this pull request! To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team. Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks! |
Contributor
🦋 Changeset is good to goLatest commit: bf431b0 We got this. Not sure what this means? Click here to learn what changesets are. |
7 tasks done
nx pins axios@1.18.1 exactly in all versions including 22.7.9 and latest 23.x, which fails the Dependency Review gate with 7 high-severity advisories (GHSA-542g-h47m-68v8, GHSA-3pq3-5fj3-cg6v, GHSA-x97p-jq2g-jp4f, GHSA-mghh-pgcx-3jjj, GHSA-c29m-xwm3-cm6r, GHSA-r4gj-5m52-g5wh, GHSA-m8m8-qj5v-23w3). Force ^1.20.0 via pnpm.overrides and regen lockfile. Verified: pnpm audit clean for axios and all three targeted nx GHSAs (GHSA-w2vw-w76x-qr89, GHSA-w3vv-58gj-gw77, GHSA-vp3h-ghgh-jr7g); dist artifacts rebuilt.
nx 22.7.9 pins brace-expansion@5.0.8 exactly, which fails the Dependency Review gate with 3 high-severity advisories (GHSA-rgw5-rvv9-x895, GHSA-6j4f-fj2g-mc7p, GHSA-qhr7-859c-m2p7). Force ^5.0.12 via pnpm.overrides and regen lockfile.
- nx 22.7.9 itself has a moderate advisory GHSA-hrvq-x7jp-36xv (>=13.10.0 <22.7.10); bump all nx/@nx pins to 22.7.12. - All nx versions pin smol-toml@1.6.1 (high GHSA-7w5x-hrqm-74c2 <=1.7.0); force ^1.9.0 via pnpm.overrides.
chainchad
previously approved these changes
Oct 7, 2026
tvc-robsondebraga
approved these changes
Oct 7, 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.
Summary
Bumps
nxand all@nx/*pins from 22.5.3 to 22.7.9 to remediate three security advisories affecting the Nx monorepo toolchain:nx affected/nx import)The
affectedpath is the most serious:nx affectedruns in CI against PR content, so a PR that only changesnx.jsoncould execute arbitrary commands on runners with job credentials.Changes
package.json:nx,@nx/devkit,@nx/esbuild,@nx/eslint,@nx/eslint-plugin,@nx/js,@nx/plugin→22.7.9pnpm-lock.yamlregeneratedpnpm build:artifacts) — CI out-of-date checkVerification
pnpm lint— 4 projects passpnpm build— 18 projects passpnpm test— 19 projects passpnpm audit— no remaining hits for GHSA-w2vw-w76x-qr89 / GHSA-w3vv-58gj-gw77 / GHSA-vp3h-ghgh-jr7gpnpm nx resetbefore verification (advisory recommendsnx resetafter upgrading on shared machines)Fixes DX-5545, DX-5544, DX-5540, DX-5538, DX-4948, DX-4947