Skip to content

[BUG] Snyk is reporting security issues with npm 11.12.1 dependencies #9194

Description

@fc-amiggi

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

Snyk is reporting the following high security vulnerabilities with dependencies installed with the latest npm:

Issues with no direct upgrade or patch:
  ✗ Infinite loop [High Severity][https://security.snyk.io/vuln/SNYK-JS-BRACEEXPANSION-15789759] in brace-expansion@5.0.4
    introduced by npm@11.12.1 > minimatch@10.2.4 > brace-expansion@5.0.4 and 222 other path(s)
  This issue was fixed in versions: 1.1.13, 2.0.3, 3.0.2, 5.0.5
  ✗ Regular Expression Denial of Service (ReDoS) [High Severity][https://security.snyk.io/vuln/SNYK-JS-PICOMATCH-15765511] in picomatch@4.0.3
    introduced by npm@11.12.1 > node-gyp@12.2.0 > tinyglobby@0.2.15 > picomatch@4.0.3 and 24 other path(s)
  This issue was fixed in versions: 2.3.2, 3.0.2, 4.0.4

Expected Behavior

Npm should upgrade dependencies to avoid security issues.

Steps To Reproduce

Reproducing this error requires access to Snyk, but the urls reporting the security issues in the above report are public.

Environment

This is from a docker container based on node:25-trixie-slim and upgraded to the latest npm with npm install -g npm@latest.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingNeeds Triageneeds review for next steps

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions