Skip to content

Commit adc6535

Browse files
committed
chore(nextjs): Update next to patched versions for CVE-2026-23869 [SECURITY]
Bump next devDep to 15.5.15, narrow peerDep to ^15.5.15 || ^15.6.0-0 || ^16.2.3, and update integration templates and playgrounds to patched version floors.
1 parent fef9b68 commit adc6535

10 files changed

Lines changed: 143 additions & 12 deletions

File tree

.changeset/nextjs-security-update.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'@clerk/nextjs': patch
33
---
44

5-
Bump `next` devDependency floor to `15.5.13` to pick up an upstream security fix.
5+
Update `next` peer dependency to recommend patched versions (`^15.5.15 || ^15.6.0-0 || ^16.2.3`) to address CVE-2026-23869, a high-severity (CVSS 7.5) denial-of-service vulnerability in React Server Components. If you are on an older Next.js version, please upgrade to a patched release as soon as possible.

integration/templates/next-app-router-bundled-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@types/node": "^20.12.12",
1313
"@types/react": "19.2.14",
1414
"@types/react-dom": "19.2.3",
15-
"next": "^15.0.1",
15+
"next": "^15.5.15",
1616
"react": "19.2.4",
1717
"react-dom": "19.2.4",
1818
"typescript": "^5.7.3"

integration/templates/next-app-router-quickstart-v6/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@types/node": "^20.12.12",
1313
"@types/react": "18.3.12",
1414
"@types/react-dom": "18.3.1",
15-
"next": "^15.0.1",
15+
"next": "^15.5.15",
1616
"react": "18.3.1",
1717
"react-dom": "18.3.1",
1818
"typescript": "^5.7.3"

integration/templates/next-app-router-quickstart/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@types/node": "^20.12.12",
1313
"@types/react": "18.3.12",
1414
"@types/react-dom": "18.3.1",
15-
"next": "^15.0.1",
15+
"next": "^15.5.15",
1616
"react": "18.3.1",
1717
"react-dom": "18.3.1",
1818
"typescript": "^5.7.3"

integration/templates/next-app-router/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@types/node": "^18.19.33",
1414
"@types/react": "18.3.12",
1515
"@types/react-dom": "18.3.1",
16-
"next": "^15.0.1",
16+
"next": "^15.5.15",
1717
"react": "18.3.1",
1818
"react-dom": "18.3.1",
1919
"typescript": "^5.7.3"

integration/templates/next-cache-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@types/node": "^18.19.33",
1414
"@types/react": "^19.0.0",
1515
"@types/react-dom": "^19.0.0",
16-
"next": "^16.2.1",
16+
"next": "^16.2.3",
1717
"react": "^19.0.0",
1818
"react-dom": "^19.0.0",
1919
"typescript": "^5.7.3"

packages/nextjs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@
9292
},
9393
"devDependencies": {
9494
"crypto-es": "^2.1.0",
95-
"next": "15.5.13"
95+
"next": "15.5.15"
9696
},
9797
"peerDependencies": {
98-
"next": "^15.2.8 || ^15.3.8 || ^15.4.10 || ^15.5.9 || ^15.6.0-0 || ^16.0.10 || ^16.1.0-0",
98+
"next": "^15.5.15 || ^15.6.0-0 || ^16.2.3",
9999
"react": "catalog:peer-react",
100100
"react-dom": "catalog:peer-react"
101101
},

playground/nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@clerk/nextjs": "canary",
1313
"@clerk/ui": "canary",
1414
"@clerk/types": "canary",
15-
"next": "^15",
15+
"next": "^15.5.15",
1616
"react": "^19.1.1",
1717
"react-dom": "^19.1.1"
1818
},

pnpm-lock.yaml

Lines changed: 131 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ minimumReleaseAgeExclude:
3535
- '@clerk/*'
3636
- 'pkglab'
3737
- 'pkglab-*'
38+
# CVE-2026-23869: React Server Components DoS
39+
- 'next@15.5.15'
40+
- '@next/*'
3841
# Renovate security update: @modelcontextprotocol/sdk@1.26.0
3942
- '@modelcontextprotocol/sdk@1.26.0'
4043
# Renovate security update: esbuild@0.25.0

0 commit comments

Comments
 (0)