Skip to content

Backport #5676: Bump vite to patched releases (GHSA-p4f5-76q4-ffq7) - #5694

Merged
VaguelySerious merged 1 commit into
stablefrom
backport/pr-5676-to-stable
Nov 24, 2026
Merged

VaguelySerious merged 1 commit into
stablefrom
backport/pr-5676-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #5676 to stable (backport job run).

AI recommendation: This is a security-motivated dependency bump: it moves vite to releases patched for GHSA-p4f5-76q4-ffq7, a dev-server RCE. stable resolves the same vulnerable versions (vite 7.3.7 pins, ^6 in @workflow/web, and the same override floors in pnpm-workspace.yaml). The @workflow/web move from vite 6 to 7 is part of removing the vulnerable 6.x line, and the Kit 3 note is context only, so expect lockfile and sveltekit-workbench conflicts but no main-only feature work.

Merge conflicts were resolved by AI (opencode with anthropic/claude-opus-5.5). Please review the conflict resolution carefully before merging.

Bumps every resolved `vite` to a release patched for
[GHSA-p4f5-76q4-ffq7](GHSA-p4f5-76q4-ffq7)
(dev-server RCE via the `__vite-browser-external` virtual module; only
exploitable when the dev server is exposed with `--host`).

| From | To | How |
| -- | -- | -- |
| 7.3.7 | 7.3.8 | Pins in
`packages/{vite,vitest,sveltekit,nitro,docs-typecheck}`, `tarballs`,
`workbench/{vite,tanstack-start}` + override floor |
| 8.3.5 | 8.3.8 | Pins in `packages/nuxt`, `workbench/nuxt`;
`workbench/sveltekit` range + new `>=8.3.0 <8.3.7` override |
| 8.1.6 | 8.1.7 | Override floor (transitive) |
| 6.4.5 | removed | `@workflow/web` builds with `vite@^7.3.8` instead of
`^6` |

`@workflow/web` moves to vite 7 instead of getting a 6.4.6 floor:
introducing 6.4.6 made pnpm re-resolve the auto-installed `vite` peer of
~150 packages (including root `vitest`) onto 6.4.6 instead of 7.x. With
vite 6 out of the graph, every importer keeps its current vite major;
`@workflow/web` (React Router dev, Tailwind, vitest) is the only one
that moves, from 6 to 7. All its plugins accept vite 7.

`@sveltejs/kit` 2.70.4 (GHSA-3r8g-jcqq-3p5j) is no longer in the graph:
now only has `@sveltejs/kit@3.4.0`.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@changeset-bot

changeset-bot Bot commented Nov 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b513b37

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
Name Type
@workflow/nitro Patch
@workflow/nuxt Patch
@workflow/sveltekit Patch
@workflow/vite Patch
@workflow/vitest Patch
@workflow/web Patch
workflow Patch
@workflow/astro Patch
@workflow/cli Patch
@workflow/world-testing Patch
@workflow/core Patch
@workflow/web-shared Patch
@workflow/builders Patch
@workflow/next Patch
@workflow/nest Patch
@workflow/rollup Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
example-nextjs-workflow-turbopack Ready Ready Preview, v0 Nov 23, 2026 11:17pm UTC
example-nextjs-workflow-webpack Ready Ready Preview, v0 Nov 23, 2026 11:17pm UTC
example-workflow Ready Ready Preview, v0 Nov 23, 2026 11:17pm UTC
workbench-astro-workflow Ready Ready Preview, v0 Nov 23, 2026 11:17pm UTC
workbench-express-workflow Ready Ready Preview, v0 Nov 23, 2026 11:17pm UTC
workbench-fastify-workflow Ready Ready Preview, v0 Nov 23, 2026 11:17pm UTC
workbench-hono-workflow Ready Ready Preview, v0 Nov 23, 2026 11:17pm UTC
workbench-nestjs-workflow Ready Ready Preview, v0 Nov 23, 2026 11:17pm UTC
workbench-nitro-workflow Ready Ready Preview, v0 Nov 23, 2026 11:17pm UTC
workbench-nuxt-workflow Ready Ready Preview, v0 Nov 23, 2026 11:17pm UTC
workbench-python-workflow Error Error v0 Nov 23, 2026 11:17pm UTC
workbench-sveltekit-workflow Ready Ready Preview, v0 Nov 23, 2026 11:17pm UTC
workbench-tanstack-start-workflow Ready Ready Preview, v0 Nov 23, 2026 11:17pm UTC
workbench-vite-workflow Ready Ready Preview, v0 Nov 23, 2026 11:17pm UTC
workflow-docs Ready Ready Preview, v0 Nov 23, 2026 11:17pm UTC
workflow-swc-playground Ready Ready Preview, v0 Nov 23, 2026 11:17pm UTC
workflow-tarballs Ready Ready Preview, v0 Nov 23, 2026 11:17pm UTC
workflow-web Ready Ready Preview, v0 Nov 23, 2026 11:17pm UTC

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​vite@​8.3.5 ⏵ 7.3.898100 +758298 +2100
Updatednpm/​vite@​8.3.5 ⏵ 8.3.899 +1100 +7582 +198 +2100

View full report

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor Author

🧪 E2E Test Results

❌ Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 1110 0 78 1188
✅ 💻 Local Development 1210 0 86 1296
✅ 📦 Local Production 1210 0 86 1296
✅ 🐘 Local Postgres 1210 0 86 1296
✅ 🪟 Windows 108 0 0 108
❌ 🌍 Community Worlds 84 106 9 199
✅ 📋 Other 612 0 36 648
Total 5544 106 381 6031

❌ Failed Tests

🌍 Community Worlds (106 failed)

redis (20 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M85BFZ5CTD0MFSZFVB7CH6FH
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M85BG9MYTYCXRGSGKEJX4F5Z
  • sleepingWorkflow | wrun_01M85BHFJKD0CPQD3REDG9DZ57
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • error handling serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M85BTDXR1VT156Y3Y0FC5XV5
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M85BTSD2Q4XJHN26BR93WQJ3
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M85BV149771KMBAAAJMPT5CF
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M85BVEPWBGDYP5N6TXVQ04Q7
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M85BW8G4GQR69NF3ZC06J5W8
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M85BWD6J5SKQA3BV8R53RNWH
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M85BWJA1NH6WDXZFBMDDRHQB
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M85BWPWQ40T94CN7SM2W1XVH
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M85BWYYPYH06WDWHT2RP73TQ
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M85C29B9KXK773X4S0C9GRWW

turso (86 failed):

  • addTenWorkflow | wrun_01M85BEYZPBD7YCC3JRZ7CXPDC
  • addTenWorkflow | wrun_01M85BEYZPBD7YCC3JRZ7CXPDC
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01M85BF1H4G6R5J5V5G47883XK
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01M85BF59VRV1TRJ2QC68VKCV5
  • promiseRaceWorkflow | wrun_01M85BF8EJ98C0D166XTYY58YD
  • promiseAnyWorkflow | wrun_01M85BFAERWHMM126TDE3N1NHS
  • importedStepOnlyWorkflow | wrun_01M85BFDBZYN4ZBFXBQPSF1C9P
  • readableStreamWorkflow | wrun_01M85BFCD4KZ56CK0HB0246CK6
  • hookWorkflow | wrun_01M85BFRQZKKC32HNAVK04X6XM
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M85BFZ5CTD0MFSZFVB7CH6FH
  • webhookWorkflow | wrun_01M85BG3R7CX7Y2PQZXBSNVBQB
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M85BG9MYTYCXRGSGKEJX4F5Z
  • sleepingWorkflow | wrun_01M85BHFJKD0CPQD3REDG9DZ57
  • parallelSleepWorkflow | wrun_01M85BHYX94ACMPFDQG33WASWN
  • sleepWinsRaceWorkflow | wrun_01M85BJ35YHXPV6JVJAXV0TD7E
  • stepWinsRaceWorkflow | wrun_01M85BJ7DMGCXZ6VXR8TSZTTTE
  • nullByteWorkflow | wrun_01M85BJAK39FEDSJV0KBZST4DY
  • workflowAndStepMetadataWorkflow | wrun_01M85BJCF05TVRV2JVV2DYR3WR
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01M85BN8GVAGVEF3WC4F18A4KT
  • writableForwardedFromWorkflowWorkflow | wrun_01M85BNSBQG3VYJNBA34P907XB
  • writableForwardedFromStepWorkflow | wrun_01M85BNZ815DXBD95RZVFEE77G
  • fetchWorkflow | wrun_01M85BP42VYJ91R08XCYKH4JDK
  • promiseRaceStressTestWorkflow | wrun_01M85BP8G1GQ2GE2873W0RJXRH
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01M85BT3DKBN40FFQX9FR1P39M
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M85BTDXR1VT156Y3Y0FC5XV5
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M85BTSD2Q4XJHN26BR93WQJ3
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01M85BTVK932VFGR7G99ZHQDBW
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01M85BTZ086ZGE2YDBABJ671KY
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M85BV149771KMBAAAJMPT5CF
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M85BVEPWBGDYP5N6TXVQ04Q7
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M85BW8G4GQR69NF3ZC06J5W8
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M85BWD6J5SKQA3BV8R53RNWH
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M85BWJA1NH6WDXZFBMDDRHQB
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M85BWPWQ40T94CN7SM2W1XVH
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M85BWYYPYH06WDWHT2RP73TQ
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01M85BX61DX6M05TAQTK1DWS1E
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01M85BXNBETYKHXMXJ7GV0KNH1
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01M85BXYPCHHXJSFHZPAF5ETKG
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01M85BY3PBTNQ75CZ882SMTJB8
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01M85BY5MYGDGBK4BCK98WFN0E
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01M85BYMG7GKZZHTZYF3DM3RA0
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01M85BYSJE8VX5X8EMFFRW5R7N
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01M85BYZN9RVEMVZWCTGX1XYQF
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01M85BZ5RZB8EHKZFJ5Z3GKWRD
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01M85BZBY195KCNWBQD98TVGBH
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01M85BZK70WRVB7Y2YEWKAHRA4
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01M85BZSAH7AC35M5V39V7SR9W
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01M85C076Z8RB0N14J28E0S8K4
  • importedSerdeKeyWorkflow - classes keyed by imported WORKFLOW_SERIALIZE symbols round-trip through steps | wrun_01M85C0EES5YBWF2XY7730SQCC
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01M85C0HJJB5AGMV70WRKW7H6J
  • cancelRun - cancelling a running workflow | wrun_01M85C0QQHVN5P2KDW1V222E96
  • cancelRun via CLI - cancelling a running workflow | wrun_01M85C0W1HZKW352X0G98M72AM
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01M85C1361Y8SC3YVZ2QQFKP3R
  • hookWithSleepFinalStepWorkflow - step only on final payload | wrun_01M85C1DA8TPKGPP5DQZC5BYZB
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01M85C1N69TAGPM9KQEZ4RDNNH
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01M85C1Z3VD0JYH6XVFXZ049CG
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01M85C25FHXD1NKFCTK6X9DWAE
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01M85C27DDC4RBW7HP3H5G5QA1
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M85C29B9KXK773X4S0C9GRWW

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 100 0 8
✅ example 100 0 8
✅ express 100 0 8
✅ fastify 100 0 8
✅ hono 100 0 8
✅ nextjs-turbopack 105 0 3
✅ nextjs-webpack 105 0 3
✅ nitro 100 0 8
✅ nuxt 100 0 8
✅ sveltekit 100 0 8
✅ vite 100 0 8
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 102 0 6
✅ express-stable 102 0 6
✅ fastify-stable 102 0 6
✅ hono-stable 102 0 6
✅ nextjs-turbopack-canary 89 0 19
✅ nextjs-turbopack-stable 108 0 0
✅ nextjs-webpack-canary 89 0 19
✅ nextjs-webpack-stable 108 0 0
✅ nitro-stable 102 0 6
✅ nuxt-stable 102 0 6
✅ sveltekit-stable 102 0 6
✅ vite-stable 102 0 6
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 102 0 6
✅ express-stable 102 0 6
✅ fastify-stable 102 0 6
✅ hono-stable 102 0 6
✅ nextjs-turbopack-canary 89 0 19
✅ nextjs-turbopack-stable 108 0 0
✅ nextjs-webpack-canary 89 0 19
✅ nextjs-webpack-stable 108 0 0
✅ nitro-stable 102 0 6
✅ nuxt-stable 102 0 6
✅ sveltekit-stable 102 0 6
✅ vite-stable 102 0 6
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 102 0 6
✅ express-stable 102 0 6
✅ fastify-stable 102 0 6
✅ hono-stable 102 0 6
✅ nextjs-turbopack-canary 89 0 19
✅ nextjs-turbopack-stable 108 0 0
✅ nextjs-webpack-canary 89 0 19
✅ nextjs-webpack-stable 108 0 0
✅ nitro-stable 102 0 6
✅ nuxt-stable 102 0 6
✅ sveltekit-stable 102 0 6
✅ vite-stable 102 0 6
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 108 0 0
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 4 0 3
✅ redis-dev 4 0 3
❌ redis 69 20 0
✅ turso-dev 4 0 3
❌ turso 3 86 0
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 102 0 6
✅ e2e-local-dev-tanstack-start-stable 102 0 6
✅ e2e-local-postgres-nest-stable 102 0 6
✅ e2e-local-postgres-tanstack-start-stable 102 0 6
✅ e2e-local-prod-nest-stable 102 0 6
✅ e2e-local-prod-tanstack-start-stable 102 0 6

📋 View full workflow run

@VaguelySerious
VaguelySerious merged commit 514bcbd into stable Nov 24, 2026
96 of 100 checks passed
@VaguelySerious
VaguelySerious deleted the backport/pr-5676-to-stable branch November 24, 2026 00:13

This branch was successfully deployed

1 active deployment
Preview – workflow-docs — b513b37a Deployed Nov 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant