Skip to content

build(deps): bump next from 15.5.10 to 15.5.19#18

Merged
cameroncooke merged 2 commits into
mainfrom
semgrep-autofix/f1908d32/npm_and_yarn/next-15.5.15
Jun 12, 2026
Merged

build(deps): bump next from 15.5.10 to 15.5.19#18
cameroncooke merged 2 commits into
mainfrom
semgrep-autofix/f1908d32/npm_and_yarn/next-15.5.15

Conversation

@semgrep-code-getsentry

Copy link
Copy Markdown
Contributor

Summary

Upgrades next from 15.5.10 to 15.5.15.

Vulnerability details

cameron.cooke@sentry.io requested this Autofix PR for this finding.

Affected versions of next are vulnerable to Allocation of Resources Without Limits or Throttling. A specially crafted HTTP request to a Next.js App Router Server Function endpoint can trigger excessive CPU consumption during React Server Components deserialization, leading to denial of service.

References: GHSA

Upgrade guidance

✨ Semgrep thinks this is safe to upgrade ✅

next references

Release notes

Sourced from next's releases.

v15.5.15

Please refer the following changelogs for more information about this security release:

https://vercel.com/changelog/summary-of-cve-2026-23869

Commits
  • 412eb90 v15.5.15
  • cb90de9 [15.x] Avoid consuming cyclic models multiple times (#74)
  • fffef9e Fix CI for glibc linux builds
  • d7b012d v15.5.14
  • 2b05251 [backport] feat(next/image): add lru disk cache and `images.maximumDiskCacheS...
  • f88cee9 Backport: Fix(pages-router): restore Content-Length and ETag for /_next/data/...
  • cfd5f53 v15.5.13
  • 15f2891 [backport]: fix: patch http-proxy to prevent request smuggling in rewrites (#...
  • d23f41c v15.5.12
  • 8e75765 fix unlock in publish-native
  • Additional commits viewable in compare view

@semgrep-code-getsentry semgrep-code-getsentry Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 12, 2026
@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
xcodebuildmcp-com Ready Ready Preview, Comment Jun 12, 2026 10:44am

Request Review

Comment thread pnpm-lock.yaml Outdated

next@15.5.10:
resolution: {integrity: sha512-r0X65PNwyDDyOrWNKpQoZvOatw7BcsTPRKdwEqtc9cj3wv7mbBIk9tKed4klRaFXJdX0rugpuMTHslDrAU1bBg==}
next@15.5.15:

@semgrep-code-getsentry semgrep-code-getsentry Bot Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: Affected versions of next are vulnerable to Allocation of Resources Without Limits or Throttling. An attacker can send a specially crafted HTTP request to any Next.js App Router Server Function endpoint that, when deserialized by the underlying React Server Components (Flight) runtime, triggers excessive CPU usage—exhausting the server process and resulting in a denial-of-service. The vulnerable deserialization path is part of the App Router's HTTP route handler, so any Next.js application that uses the App Router is reachable without any explicit Server Action declared in user code.

Manual Review Advice: A vulnerability from this advisory is reachable if you are using the App Router

Fix: Upgrade this library to at least version 15.5.16 at xcodebuildmcp.com/pnpm-lock.yaml:2219.

Reference(s): GHSA-8h8q-6873-q5fj, CVE-2026-23870

🌟 Fixed in commit 118865a 🌟

Comment thread pnpm-lock.yaml Outdated

next@15.5.10:
resolution: {integrity: sha512-r0X65PNwyDDyOrWNKpQoZvOatw7BcsTPRKdwEqtc9cj3wv7mbBIk9tKed4klRaFXJdX0rugpuMTHslDrAU1bBg==}
next@15.5.15:

@semgrep-code-getsentry semgrep-code-getsentry Bot Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: Affected versions of next are vulnerable to Server-Side Request Forgery (SSRF). Next.js's standalone router-server forwards WebSocket Upgrade requests to whatever host and port the attacker supplies in an absolute-URL request-line or Host header, because the upgrade handler in packages/next/src/server/lib/router-server.ts invokes proxyRequest(...) whenever parsedUrl.protocol is set, without the finished/statusCode guards that protect normal HTTP requests. An unauthenticated attacker can therefore make a self-hosted Next.js process open an outbound TCP connection to arbitrary internal or external destinations (e.g. cloud metadata endpoints such as 169.254.169.254, internal Redis/Elasticsearch/Kubelet, etc.), enabling SSRF and potential cloud credential theft. Upgrade to next@15.5.16 or next@16.2.5.

Manual Review Advice: A vulnerability from this advisory is reachable if you self-host Next.js application instead of Vercel-hosted deployments

Fix: Upgrade this library to at least version 15.5.16 at xcodebuildmcp.com/pnpm-lock.yaml:2219.

Reference(s): GHSA-c4j6-fc7j-m34r, CVE-2026-44578

🧼 Fixed in commit 118865a 🧼

@cameroncooke

Copy link
Copy Markdown
Collaborator

Fixes Linear issue ENG-7388

@cameroncooke

Copy link
Copy Markdown
Collaborator

@cursor address PR comments and failing status check

@cursor

cursor Bot commented Jun 12, 2026

Copy link
Copy Markdown

Perfect! I've successfully addressed the PR comments and the failing status check. Here's what I accomplished:

Changes Made

Upgraded Next.js from 15.5.15 to 15.5.19 to resolve the security vulnerabilities flagged in the PR comments.

Security Issues Resolved

  • CVE-2026-23870: DoS vulnerability via excessive CPU consumption in React Server Components deserialization
  • CVE-2026-44578: SSRF vulnerability in WebSocket upgrade handling

Both vulnerabilities required at least version 15.5.16. Upgraded to 15.5.19 (latest in the 15.5.x series) for maximum security.

Verification

  • ✅ Build completed successfully
  • ✅ Updated package.json and pnpm-lock.yaml
  • ✅ Committed and pushed changes
  • ✅ Updated PR title to reflect 15.5.19 upgrade
  • dependency-review check now passing (was previously failing)
  • ✅ All other CI checks passing (semgrep scan still pending but this is normal)

The PR is now ready for review with all security vulnerabilities addressed.

Open in Web Open in Cursor 

Addresses CVE-2026-23870 and CVE-2026-44578 vulnerabilities that
required at least version 15.5.16. Upgrading to 15.5.19 (latest
in 15.5.x series) to ensure all security issues are resolved.

Co-authored-by: Cameron Cooke <web@cameroncooke.com>
@linear-code

linear-code Bot commented Jun 12, 2026

Copy link
Copy Markdown

ENG-7388

@cursor cursor Bot changed the title build(deps): bump next from 15.5.10 to 15.5.15 build(deps): bump next from 15.5.10 to 15.5.19 Jun 12, 2026
@cameroncooke cameroncooke merged commit c5fd303 into main Jun 12, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants