Skip to content

Backport #4737: [deps] Upgrade next to 16.3.8 for CVE-2026-94483 - #4766

Merged
TooTallNate merged 2 commits into
stablefrom
backport/pr-4737-to-stable
Oct 8, 2026
Merged

TooTallNate merged 2 commits into
stablefrom
backport/pr-4737-to-stable

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

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

AI recommendation: This is a pure security dependency bump for CVE-2026-94483 (SSRF in Next.js Image Optimization, affecting >= 16.0.0 < 16.3.8), which the backport criteria explicitly admit. I verified that stable still pins next: 16.2.11 in packages/next (devDependency), workbench/nextjs-turbopack, workbench/nextjs-webpack, workbench/swc-playground, and docs — all within the vulnerable range — so the maintenance line is affected. Note the cherry-pick will need adapting since stable is on the 16.2.x line and its lockfile differs, and the docs/package.json portion can be resolved however stable's placeholder docs app requires.

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


Follow-up fix (Vercel deploy failures): stable resolved @opentelemetry/api to both 1.9.0 (the workbenches' ^1.9.0) and 1.9.1, so pnpm installed one next@16.3.8 copy per otel version. With 16.3.x those copies' NextConfig types are incompatible, so withWorkflow(nextConfig) failed to typecheck in nextjs-webpack/nextjs-turbopack. Backported main's '@opentelemetry/api': 1.9.1 workspace override (#2901), which collapses everything to one copy. Overrides only affect this workspace's resolution, not published packages. Verified both workbenches build locally.

Vercel – workbench-python-workflow fails on stable itself (workbench/python doesn't exist on this branch) and is unrelated.

Bumps every `next` pin in the repo from 16.3.6 to 16.3.8 to fix
**CVE-2026-94483** / GHSA-cjq9-62q9-8jv4 (SSRF in Image Optimization,
affects `>= 16.0.0 < 16.3.8`):

- `docs`
- `packages/next` (devDependency only; the published `next: ">13"` peer
range is unchanged)
- `workbench/nextjs-turbopack`
- `workbench/nextjs-webpack`
- `workbench/swc-playground`

The changeset is empty because no published package's runtime
dependencies change.

Most of the lockfile churn comes from `fumadocs-*` and `radix-ui` in
`docs`. `fumadocs-core` peers on `next`, so pnpm re-resolved that
subtree.

- `pnpm turbo run build --filter @workflow/next...` passes
- `workbench/nextjs-turbopack` `pnpm build` passes
- `@workflow/next` unit tests: 102/103 pass. The one failure is
`watch-scope.test.ts`, which compares macOS `/var` symlink paths on my
machine and doesn't involve `next`.

Signed-off-by: Nathan Rajlich <n@n8.io>
@changeset-bot

changeset-bot Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 830c88e

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

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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 Oct 8, 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 Oct 8, 2026 8:00am UTC
example-nextjs-workflow-webpack Ready Ready Preview, v0 Oct 8, 2026 8:00am UTC
example-workflow Ready Ready Preview, v0 Oct 8, 2026 8:00am UTC
workbench-astro-workflow Ready Ready Preview, v0 Oct 8, 2026 8:00am UTC
workbench-express-workflow Ready Ready Preview, v0 Oct 8, 2026 8:00am UTC
workbench-fastify-workflow Ready Ready Preview, v0 Oct 8, 2026 8:00am UTC
workbench-hono-workflow Ready Ready Preview, v0 Oct 8, 2026 8:00am UTC
workbench-nestjs-workflow Ready Ready Preview, v0 Oct 8, 2026 8:00am UTC
workbench-nitro-workflow Ready Ready Preview, v0 Oct 8, 2026 8:00am UTC
workbench-nuxt-workflow Ready Ready Preview, v0 Oct 8, 2026 8:00am UTC
workbench-python-workflow Error Error v0 Oct 8, 2026 8:00am UTC
workbench-sveltekit-workflow Ready Ready Preview, v0 Oct 8, 2026 8:00am UTC
workbench-tanstack-start-workflow Ready Ready Preview, v0 Oct 8, 2026 8:00am UTC
workbench-vite-workflow Ready Ready Preview, v0 Oct 8, 2026 8:00am UTC
workflow-docs Ready Ready Preview, v0 Oct 8, 2026 8:00am UTC
workflow-swc-playground Ready Ready Preview, v0 Oct 8, 2026 8:00am UTC
workflow-tarballs Ready Ready Preview, v0 Oct 8, 2026 8:00am UTC
workflow-web Ready Ready Preview, v0 Oct 8, 2026 8:00am UTC

@socket-security

socket-security Bot commented Oct 8, 2026 •

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/​next@​16.2.11 ⏵ 16.3.861 -2100 +7590 +19970

View full report

Comment thread pnpm-lock.yaml Resolved
Backports the workspace override from main (#2901). stable resolved
@opentelemetry/api to both 1.9.0 and 1.9.1, so pnpm installed one next
copy per otel version. As of next 16.3 those copies' NextConfig types
are incompatible, breaking withWorkflow() typechecks in the nextjs
workbenches.
@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor Author

🧪 E2E Test Results

❌ Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 1099 0 78 1177
✅ 💻 Local Development 1198 0 86 1284
✅ 📦 Local Production 1198 0 86 1284
✅ 🐘 Local Postgres 1198 0 86 1284
✅ 🪟 Windows 107 0 0 107
❌ 🌍 Community Worlds 15 85 9 109
✅ 📋 Other 606 0 36 642
Total 5421 85 381 5887

❌ Failed Tests

🌍 Community Worlds (85 failed)

turso (85 failed):

  • addTenWorkflow | wrun_01M4D8AKY4AX8PCQXGMS87H51D
  • addTenWorkflow | wrun_01M4D8AKY4AX8PCQXGMS87H51D
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01M4D8CWVAMM4R0J30KH2E5M7X
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01M4D8ASSF7HWHPVZMM0EEEE48
  • promiseRaceWorkflow | wrun_01M4D8AY3SR2C197TZ2478S0S6
  • promiseAnyWorkflow | wrun_01M4D8B0CB8J4EQA719T3PFF8J
  • importedStepOnlyWorkflow | wrun_01M4D8D77VPWGY9G96BG2W3BV1
  • readableStreamWorkflow | wrun_01M4D8B29W1TDHS1MSCSY02PS8
  • hookWorkflow | wrun_01M4D8BHHKC4NJWE0F9TR2XDRV
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M4D8BTZGZR9X746WPK869633
  • webhookWorkflow | wrun_01M4D8BZ5ZPMTR9TAS8AG1C54R
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M4D8C4JMZDSDGCTD782S5WDY
  • sleepingWorkflow | wrun_01M4D8D34DR8DSEBZYF625TDGM
  • parallelSleepWorkflow | wrun_01M4D8DJPM0DV8WDX3YQ5CQ91E
  • sleepWinsRaceWorkflow | wrun_01M4D8DQ13165RNFAG0PVP6PCV
  • stepWinsRaceWorkflow | wrun_01M4D8DT6RVNFWQEMZ7B7996SR
  • nullByteWorkflow | wrun_01M4D8DXAHVJT0X06H2PRDX6HN
  • workflowAndStepMetadataWorkflow | wrun_01M4D8DZFEV99X3MZKTW2AAXKM
  • 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_01M4D8G4PDYGW3GE3WA7CRHKJP
  • writableForwardedFromWorkflowWorkflow | wrun_01M4D8GHEH6SRKP8CRFZJKASQD
  • writableForwardedFromStepWorkflow | wrun_01M4D8GN9G2YW9WMX50T8NBD7A
  • fetchWorkflow | wrun_01M4D8GQPABJEV5Q0PHNRJ4K91
  • promiseRaceStressTestWorkflow | wrun_01M4D8GTSACN3YSC9PBADXQ246
  • 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_01M4D8M8AGPZ5X1R3ZK3T5QRKW
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M4D8MJTARFZW904F72BC9KGP
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M4D8MX4SCCRVD870XVMFD7JX
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01M4D8MZGQGC0VDS3GN1RC9MNC
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01M4D8N1R3RCDXZAMT6KQ1YQHS
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M4D8N3VVTGY2ND71YFXNZ4P9
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M4D8NGHB4A71JZJZSG3A89WD
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M4D8P90Y794JCYDZ97N8FRS5
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M4D8PC13X5C3G87905VEPRAP
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M4D8PH4W8GH1BENRD8FC6G2R
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M4D8PNKQH9TZ0VY9YZX1QC4Y
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M4D8PXASJFJRKSRZTX4CFQMK
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01M4D8Q3H5YFW8QYMH1612WRKF
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01M4D8QHV6JV8JNW517EW8AEWW
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01M4D8QS4GMSZQFH2JVVWRTRH5
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01M4D8QXRNX2TE02G2KSXT8PNX
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01M4D8QZQ3PZV9WPZTEEJXRZW5
  • 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_01M4D8RC4TK47EKPZ4DMFD41AP
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01M4D8RGVRKNNPGTEDH5PN9XBK
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01M4D8RNJ9VTYK030VRCK177ZK
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01M4D8RT9N8Z3G1MT4KBC4NTSP
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01M4D8S069DYT5XH0Z0CT1KYR4
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01M4D8S643ZVS9D0EXW9Q2GEFA
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01M4D8SBX0J3ZG7W0GTACA99QT
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01M4D8SPJPTCH44E4VR7NRH8NV
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01M4D8SXQ2GH0RWWE01R5BYGX7
  • cancelRun - cancelling a running workflow | wrun_01M4D8T3H74E52V9GM996FTE9K
  • cancelRun via CLI - cancelling a running workflow | wrun_01M4D8T7RQSCJX1EQA0CQ3QDTF
  • 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_01M4D8TE0MEDYZQXDEKTCH54BD
  • hookWithSleepFinalStepWorkflow - step only on final payload | wrun_01M4D8TQYXNPNARDJ4T91GYBCF
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01M4D8TZT2DQX7XNPFDWGE5ERB
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01M4D8V9VPRQYTVQCJPSVMSRQ4
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01M4D8VFN5JABMQGF7VDK0B7SE
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01M4D8VHNSV7Q4EMZ7QB21T9A7
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M4D8VKP2VVS649BXGME55HG8

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 99 0 8
✅ example 99 0 8
✅ express 99 0 8
✅ fastify 99 0 8
✅ hono 99 0 8
✅ nextjs-turbopack 104 0 3
✅ nextjs-webpack 104 0 3
✅ nitro 99 0 8
✅ nuxt 99 0 8
✅ sveltekit 99 0 8
✅ vite 99 0 8
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 101 0 6
✅ express-stable 101 0 6
✅ fastify-stable 101 0 6
✅ hono-stable 101 0 6
✅ nextjs-turbopack-canary 88 0 19
✅ nextjs-turbopack-stable 107 0 0
✅ nextjs-webpack-canary 88 0 19
✅ nextjs-webpack-stable 107 0 0
✅ nitro-stable 101 0 6
✅ nuxt-stable 101 0 6
✅ sveltekit-stable 101 0 6
✅ vite-stable 101 0 6
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 101 0 6
✅ express-stable 101 0 6
✅ fastify-stable 101 0 6
✅ hono-stable 101 0 6
✅ nextjs-turbopack-canary 88 0 19
✅ nextjs-turbopack-stable 107 0 0
✅ nextjs-webpack-canary 88 0 19
✅ nextjs-webpack-stable 107 0 0
✅ nitro-stable 101 0 6
✅ nuxt-stable 101 0 6
✅ sveltekit-stable 101 0 6
✅ vite-stable 101 0 6
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 101 0 6
✅ express-stable 101 0 6
✅ fastify-stable 101 0 6
✅ hono-stable 101 0 6
✅ nextjs-turbopack-canary 88 0 19
✅ nextjs-turbopack-stable 107 0 0
✅ nextjs-webpack-canary 88 0 19
✅ nextjs-webpack-stable 107 0 0
✅ nitro-stable 101 0 6
✅ nuxt-stable 101 0 6
✅ sveltekit-stable 101 0 6
✅ vite-stable 101 0 6
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 107 0 0
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 4 0 3
✅ redis-dev 4 0 3
✅ turso-dev 4 0 3
❌ turso 3 85 0
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 101 0 6
✅ e2e-local-dev-tanstack-start-stable 101 0 6
✅ e2e-local-postgres-nest-stable 101 0 6
✅ e2e-local-postgres-tanstack-start-stable 101 0 6
✅ e2e-local-prod-nest-stable 101 0 6
✅ e2e-local-prod-tanstack-start-stable 101 0 6

📋 View full workflow run

@TooTallNate
TooTallNate enabled auto-merge (squash) October 8, 2026 08:09
@TooTallNate
TooTallNate merged commit 68ef038 into stable Oct 8, 2026
94 of 98 checks passed
@TooTallNate
TooTallNate deleted the backport/pr-4737-to-stable branch October 8, 2026 08:12

This branch was successfully deployed

1 active deployment
Preview – workflow-docs — 830c88ea Deployed Oct 8, 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