Skip to content

chore: upgrade next to ^16.2.6 to address CVE-2026-45109#1203

Draft
brendan-kellam wants to merge 2 commits into
mainfrom
cursor/cve/next-b42c
Draft

chore: upgrade next to ^16.2.6 to address CVE-2026-45109#1203
brendan-kellam wants to merge 2 commits into
mainfrom
cursor/cve/next-b42c

Conversation

@brendan-kellam
Copy link
Copy Markdown
Contributor

Fixes SOU-1102

Summary

Upgrades Next.js from ^16.2.3 to ^16.2.6 to address CVE-2026-45109, which is an incomplete fix follow-up to CVE-2026-44575.

CVE Details

CVE-2026-45109: Next.js Turbopack middleware bypass via segment-prefetch routes (incomplete fix for CVE-2026-44575)

The fix for CVE-2026-44575 (Next.js App Router middleware bypass via segment-prefetch routes) did not apply to middleware.ts when using Turbopack. Applications using Turbopack with middleware remain vulnerable to the same App Router segment-prefetch authorization bypass even after upgrading to 16.2.5.

References

Linear Issue: SOU-1102

Open in Web Open in Cursor 

Co-authored-by: Brendan Kellam <brendan@sourcebot.dev>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 13, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 627fb723-1712-45d8-b5c1-973d192ffc78

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/cve/next-b42c

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Co-authored-by: Brendan Kellam <brendan@sourcebot.dev>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 13, 2026

License Audit

⚠️ Status: PASS

Metric Count
Total packages 2077
Resolved (non-standard) 11
Unresolved 0
Strong copyleft 0
Weak copyleft 39

Weak Copyleft Packages (informational)

Package Version License
@img/sharp-libvips-darwin-arm64 1.0.4 LGPL-3.0-or-later
@img/sharp-libvips-darwin-arm64 1.2.4 LGPL-3.0-or-later
@img/sharp-libvips-darwin-x64 1.0.4 LGPL-3.0-or-later
@img/sharp-libvips-darwin-x64 1.2.4 LGPL-3.0-or-later
@img/sharp-libvips-linux-arm 1.0.5 LGPL-3.0-or-later
@img/sharp-libvips-linux-arm 1.2.4 LGPL-3.0-or-later
@img/sharp-libvips-linux-arm64 1.0.4 LGPL-3.0-or-later
@img/sharp-libvips-linux-arm64 1.2.4 LGPL-3.0-or-later
@img/sharp-libvips-linux-ppc64 1.2.4 LGPL-3.0-or-later
@img/sharp-libvips-linux-riscv64 1.2.4 LGPL-3.0-or-later
@img/sharp-libvips-linux-s390x 1.0.4 LGPL-3.0-or-later
@img/sharp-libvips-linux-s390x 1.2.4 LGPL-3.0-or-later
@img/sharp-libvips-linux-x64 1.0.4 LGPL-3.0-or-later
@img/sharp-libvips-linux-x64 1.2.4 LGPL-3.0-or-later
@img/sharp-libvips-linuxmusl-arm64 1.0.4 LGPL-3.0-or-later
@img/sharp-libvips-linuxmusl-arm64 1.2.4 LGPL-3.0-or-later
@img/sharp-libvips-linuxmusl-x64 1.0.4 LGPL-3.0-or-later
@img/sharp-libvips-linuxmusl-x64 1.2.4 LGPL-3.0-or-later
@img/sharp-wasm32 0.33.5 Apache-2.0 AND LGPL-3.0-or-later AND MIT
@img/sharp-wasm32 0.34.5 Apache-2.0 AND LGPL-3.0-or-later AND MIT
@img/sharp-win32-arm64 0.34.5 Apache-2.0 AND LGPL-3.0-or-later
@img/sharp-win32-ia32 0.33.5 Apache-2.0 AND LGPL-3.0-or-later
@img/sharp-win32-ia32 0.34.5 Apache-2.0 AND LGPL-3.0-or-later
@img/sharp-win32-x64 0.33.5 Apache-2.0 AND LGPL-3.0-or-later
@img/sharp-win32-x64 0.34.5 Apache-2.0 AND LGPL-3.0-or-later
axe-core 4.10.3 MPL-2.0
dompurify 3.4.0 (MPL-2.0 OR Apache-2.0)
lightningcss 1.32.0 MPL-2.0
lightningcss-android-arm64 1.32.0 MPL-2.0
lightningcss-darwin-arm64 1.32.0 MPL-2.0
lightningcss-darwin-x64 1.32.0 MPL-2.0
lightningcss-freebsd-x64 1.32.0 MPL-2.0
lightningcss-linux-arm-gnueabihf 1.32.0 MPL-2.0
lightningcss-linux-arm64-gnu 1.32.0 MPL-2.0
lightningcss-linux-arm64-musl 1.32.0 MPL-2.0
lightningcss-linux-x64-gnu 1.32.0 MPL-2.0
lightningcss-linux-x64-musl 1.32.0 MPL-2.0
lightningcss-win32-arm64-msvc 1.32.0 MPL-2.0
lightningcss-win32-x64-msvc 1.32.0 MPL-2.0
Resolved Packages (11)
Package Version Original Resolved Source
@react-grab/cli 0.1.23 UNKNOWN MIT GitHub repo aidenybai/react-grab (monorepo containing @react-grab/cli)
@react-grab/cli 0.1.29 UNKNOWN MIT GitHub repo aidenybai/react-grab (monorepo containing @react-grab/cli)
@react-grab/mcp 0.1.29 UNKNOWN MIT GitHub repo aidenybai/react-grab (monorepo containing @react-grab/mcp)
codemirror-lang-elixir 4.0.0 UNKNOWN Apache-2.0 GitHub repo livebook-dev/codemirror-lang-elixir LICENSE file
element-source 0.0.3 UNKNOWN MIT GitHub repo aidenybai/element-source (npm package maintained by aidenybai)
lezer-elixir 1.1.2 UNKNOWN Apache-2.0 GitHub repo livebook-dev/lezer-elixir LICENSE file
map-stream 0.1.0 UNKNOWN MIT GitHub repo dominictarr/map-stream LICENSE file
memorystream 0.3.1 UNKNOWN MIT Extracted from npm registry 'licenses' field object: {type: 'MIT', url: '...'}
pause-stream 0.0.11 ["MIT","Apache2"] MIT OR Apache-2.0 Extracted from package.json license array; confirmed by GitHub repo dominictarr/pause-stream LICENSE file ('Dual Licensed MIT and Apache 2')
posthog-js 1.369.0 SEE LICENSE IN LICENSE Apache-2.0 GitHub repo PostHog/posthog-js LICENSE file (Apache License, Version 2.0)
valid-url 1.0.9 UNKNOWN MIT GitHub repo ogt/valid-url LICENSE file

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.

2 participants