Latest version of cli is pulling in insecure packages that have available patches
Author: G-RathCreated May 4, 2024Updated Sep 28, 2026
The latest version of the vercel cli is pulling in packages with known vulnerabilities that have available patches.
Current vulnerabilities:
-
path-to-regexpv6.1.0, via@vercel/routing-utilsand@vercel/remix-builder- (https://github.com/vercel/vercel/pull/12131, https://github.com/vercel/vercel/pull/12734 -> reverted: https://github.com/vercel/vercel/pull/12746)
- GHSA-9wv6-86v2-598j
-
tarv4.4.18, via@vercel/fun(patched in v1.1.5, just waiting for https://github.com/vercel/vercel/pull/13070 to land)- GHSA-f5x3-32g6-xq36
-
undiciv5.28.4, via@vercel/node(waiting on https://github.com/vercel/vercel/pull/13380 to be landed and released)- GHSA-c76h-2ccp-4975
- GHSA-cxrh-j4jr-qwg3
-
esbuildv0.14.47, via@vercel/nodeand@vercel/gatsby-plugin-vercel-builder- GHSA-67mh-4wv8-2f99
While I don't believe any of these are exploitable in the context of this cli, they are a nuisance since non-breaking patches are available and security policies can make these expensive to ignore.
`npm audit` output as of 2025-06-10# npm audit report
esbuild <=0.24.2
Severity: moderate
esbuild enables any website to send any requests to the development server and read the response - https://github.com/advisories/GHSA-67mh-4wv8-2f99
fix available via `npm audit fix --force`
Will install [email protected], which is a breaking change
node_modules/esbuild
@vercel/gatsby-plugin-vercel-builder *
Depends on vulnerable versions of esbuild
node_modules/@vercel/gatsby-plugin-vercel-builder
@vercel/static-build >=1.3.0
Depends on vulnerable versions of @vercel/gatsby-plugin-vercel-builder
node_modules/@vercel/static-build
vercel >=25.2.1
Depends on vulnerable versions of @vercel/node
Depends on vulnerable versions of @vercel/remix-builder
Depends on vulnerable versions of @vercel/static-build
node_modules/vercel
@vercel/node >=2.3.1
Depends on vulnerable versions of esbuild
Depends on vulnerable versions of path-to-regexp
Depends on vulnerable versions of undici
node_modules/@vercel/node
path-to-regexp 4.0.0 - 6.2.2
Severity: high
path-to-regexp outputs backtracking regular expressions - https://github.com/advisories/GHSA-9wv6-86v2-598j
fix available via `npm audit fix --force`
Will install [email protected], which is a breaking change
node_modules/path-to-regexp
@vercel/remix-builder <=2.0.3 || >=5.2.4
Depends on vulnerable versions of path-to-regexp
node_modules/@vercel/remix-builder
undici <=5.28.5
Severity: moderate
Use of Insufficiently Random Values in undici - https://github.com/advisories/GHSA-c76h-2ccp-4975
undici Denial of Service attack via bad certificate data - https://github.com/advisories/GHSA-cxrh-j4jr-qwg3
fix available via `npm audit fix --force`
Will install [email protected], which is a breaking change
node_modules/undici
8 vulnerabilities (4 moderate, 4 high)
To address all issues (including breaking changes), run:
npm audit fix --force
Related issues and pull requests:
Source: vercel/vercel