@workflow/web 5.0.7 server build inlines brace-expansion 5.0.6 (via @vercel/queue → minimatch)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 42/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- build-system, security
Línea de trabajo
The vulnerable copy is brace-expansion 5.0.6, pulled in through @vercel/queue and minimatch 10.2.5, and it ends up inlined in the @workflow/web build output build/server/assets/app-CGNn2sgH.js. Start in pnpm-lock.yaml and check whether a root override can force brace-expansion to 5.0.12 or later. Done means the lockfile resolves the fixed version and a rebuilt bundle no longer contains the old expand_ logic.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
While scanning published npm packages for bundled third-party code we found that @workflow/[email protected] (npm latest) inlines brace-expansion 5.0.6 in build/server/assets/app-CGNn2sgH.js (:140336 onward). It comes in through the bundled @vercel/queue client → minimatch 10.2.5, which the vercel/workflow pnpm-lock.yaml on main still resolves to [email protected].
- CVE-2026-13149 (GHSA-3jxr-9vmj-r5cp): DoS via exponential-time expansion of consecutive non-expanding
{}groups (fixed 5.0.7) - CVE-2026-14257 (GHSA-mh99-v99m-4gvg): DoS via unbounded expansion length (fixed 5.0.8)
- CVE-2026-69152 (GHSA-rgw5-rvv9-x895): DoS via unbounded intermediate arrays (fixed 5.0.9)
- CVE-2026-102276 (GHSA-6j4f-fj2g-mc7p): DoS via uncontrolled recursion in
parseCommaParts(fixed 5.0.10) - CVE-2026-102278 (GHSA-qhr7-859c-m2p7): DoS via uncontrolled recursion on nested brace groups (fixed 5.0.11)
- CVE-2026-102277 (GHSA-q2hr-2g5m-vwhr): quadratic-time expansion of the
{a},b}rewrite (fixed 5.0.12)
@workflow/web does not declare brace-expansion or minimatch, so npm audit and SCA tools cannot flag this copy for you or your users.
We did not find a way for it to lead to an exploit in this package.
Because the copy ships where dependency audits cannot see it, it is easy to miss. We would suggest updating it when convenient, and sooner if untrusted input can reach it in your setup.
Suggested fix: update the lockfile (or add an override) so minimatch resolves brace-expansion >= 5.0.12, then rebuild @workflow/web.
Reproduction
Checked against the published tarball on 2026-11-03 (npm latest):
npm pack @workflow/[email protected] && tar xzf workflow-web-5.0.7.tgz
grep -n 'const EXPANSION_MAX = ' package/build/server/assets/app-CGNn2sgH.js
grep -n 'return expand_(str, max2, true)' package/build/server/assets/app-CGNn2sgH.js
grep -c 'EXPANSION_MAX_LENGTH' package/build/server/assets/app-CGNn2sgH.js
Output:
140336:const EXPANSION_MAX = 1e5;
140408: return expand_(str, max2, true);
0
The inlined expand_ still restarts on the {a},b} rewrite by recursing (:140408), which 5.0.7 turned into a loop, and EXPANSION_MAX_LENGTH (added in 5.0.8) is absent.
- Lenguaje dominante
- TypeScript
- Estrellas
- 2.5k
- Forks
- 401
- Merge medio
- 1 d 21 h
- PR fusionados (30 d)
- 201
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de vercel/workflow
-
getPortLazy re-runs OS port discovery on every call when it finds no portPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
node-module-esbuild-plugin: getImportedIdentifier only checks the first named import when locating a violationPosiblemente ocupada @div-cowboy la tomó hace 5 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
vercel/workflow#5057 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
code-transform.mdx §ID Generation omits the package-shipped `name@version` ID formPosiblemente ocupada @Mohith26 la tomó hace 113 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día
Todos los issues de vercel/workflow
Issues similares
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 87/100
Los mantenedores suelen responder en 1 día
-
🛠️ dette technique
Dificultad 2/5 1-3 horas Aptitud para principiantes 61/100
betagouv/mon-entreprise#4752 · 1 comentario ·
Los mantenedores suelen responder en 5 días
-
type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
franciscoBSalgueiro/en-croissant#1111 ·
Los mantenedores suelen responder en 2 días
-
area/providers type/feature version/v2
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
anomalyco/opencode#64845 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día