Skip to content

fix(repo): bump picomatch from 4.0.2 to 4.0.4#35081

Merged
jaysoo merged 1 commit into
masterfrom
issue-35068
Mar 30, 2026
Merged

fix(repo): bump picomatch from 4.0.2 to 4.0.4#35081
jaysoo merged 1 commit into
masterfrom
issue-35068

Conversation

@jaysoo

@jaysoo jaysoo commented Mar 30, 2026

Copy link
Copy Markdown
Member

Current Behavior

The pnpm catalog pins picomatch to 4.0.2, which has two high-severity vulnerabilities:

Running npm audit on any workspace using @nx/angular, @nx/js, or @nx/workspace reports these vulnerabilities.

Expected Behavior

No picomatch-related vulnerabilities reported by npm audit. The bump to 4.0.4 is a patch release that only fixes the security issues with no API changes.

Related Issue(s)

Fixes #35068

## Current Behavior
picomatch 4.0.2 has two known high-severity vulnerabilities:
- GHSA-3v7f-55p6-f55p (Method Injection in POSIX Character Classes)
- GHSA-c2c7-rcm5-vvqj (ReDoS via extglob quantifiers)

This causes `npm audit` to flag @nx/angular, @nx/js, @nx/workspace,
and other packages that depend on picomatch.

## Expected Behavior
No picomatch-related vulnerabilities reported by `npm audit`.

## Related Issue(s)
Fixes #35068
@jaysoo jaysoo requested a review from a team as a code owner March 30, 2026 15:08
@jaysoo jaysoo requested a review from AgentEnder March 30, 2026 15:08
@netlify

netlify Bot commented Mar 30, 2026

Copy link
Copy Markdown

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit 6949b69
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/69ca91e8fd83f40008a49e6f
😎 Deploy Preview https://deploy-preview-35081--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Mar 30, 2026

Copy link
Copy Markdown

Deploy Preview for nx-dev ready!

Name Link
🔨 Latest commit 6949b69
🔍 Latest deploy log https://app.netlify.com/projects/nx-dev/deploys/69ca91e8f483ad00072c016a
😎 Deploy Preview https://deploy-preview-35081--nx-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@nx-cloud

nx-cloud Bot commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

View your CI Pipeline Execution ↗ for commit 6949b69

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 53m 12s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 7s View ↗
nx-cloud record -- pnpm nx conformance:check ✅ Succeeded 7s View ↗
nx build workspace-plugin ✅ Succeeded 2m 10s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-03-30 16:09:12 UTC

@jaysoo jaysoo merged commit 203203f into master Mar 30, 2026
24 checks passed
@jaysoo jaysoo deleted the issue-35068 branch March 30, 2026 16:09
FrozenPandaz pushed a commit that referenced this pull request Mar 31, 2026
## Current Behavior

The pnpm catalog pins picomatch to `4.0.2`, which has two high-severity
vulnerabilities:
-
[GHSA-3v7f-55p6-f55p](GHSA-3v7f-55p6-f55p)
— Method Injection in POSIX Character Classes causes incorrect glob
matching
-
[GHSA-c2c7-rcm5-vvqj](GHSA-c2c7-rcm5-vvqj)
— ReDoS via extglob quantifiers

Running `npm audit` on any workspace using `@nx/angular`, `@nx/js`, or
`@nx/workspace` reports these vulnerabilities.

## Expected Behavior

No picomatch-related vulnerabilities reported by `npm audit`. The bump
to `4.0.4` is a patch release that only fixes the security issues with
no API changes.

## Related Issue(s)

Fixes #35068

(cherry picked from commit 203203f)
@github-actions

github-actions Bot commented Apr 5, 2026

Copy link
Copy Markdown
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Picomatch vulnerability in @nx/angular, @nx/js, @nx/workspace

3 participants