mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #798] [MERGED] fix(app-router): reject cyclic Flight payloads in server actions #854
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#854
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/798
Author: @southpolesteve
Created: 4/9/2026
Status: ✅ Merged
Merged: 4/9/2026
Merged by: @southpolesteve
Base:
main← Head:fix/server-actions-dos-guard📝 Commits (2)
1a06b02fix(app-router): reject cyclic Flight payloads in server actions4abb58etest(app-router): update generated entry snapshots📊 Changes
12 files changed (+806 additions, -548 deletions)
View changed files
📝
README.md(+1 -1)📝
packages/vinext/package.json(+4 -4)📝
packages/vinext/src/cli.ts(+1 -1)📝
packages/vinext/src/entries/app-rsc-entry.ts(+7 -1)📝
packages/vinext/src/init.ts(+4 -4)📝
packages/vinext/src/server/request-pipeline.ts(+85 -0)📝
pnpm-lock.yaml(+501 -523)📝
pnpm-workspace.yaml(+4 -4)📝
tests/__snapshots__/entry-templates.test.ts.snap(+42 -6)📝
tests/app-router.test.ts(+31 -0)📝
tests/init.test.ts(+52 -4)📝
tests/request-pipeline.test.ts(+74 -0)📄 Description
Summary
react/react-dom/react-server-dom-webpack19.2.5and@vitejs/plugin-rsc0.5.23, matching the upstream CVE-2026-23869 decoder updatesdecodeReply, since vinext's App Router action path still reproduces the PoC without an early guard even after the upstream version bumpsTesting
vp test run tests/request-pipeline.test.tsvp test run tests/init.test.tsvp test run tests/app-router.test.ts -t "payload validation"vp test run tests/app-router.test.ts -t "cyclic multipart server action payloads"References
github.com/vercel/next.js@28739286a8🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.