npm package
next 15.4.0 vulnerabilities, and the version that fixes all of them
next 15.4.0 has 35 known vulnerabilities (16 rated high or critical); 15.5.27 fixes all of them. CISA lists 1 of them as exploited in the wild. Next.js 15 reaches end of life on Oct 21, 2026. Move to Next.js 16 (LTS). The maintainers deprecated this release.
npm (opens in a new tab) describes it as “The React Framework”
- Known vulnerabilities
- 35
- 16 rated high or critical
- Released
- May 30, 2025
- Latest is 16.4.2
- Downloads last week
- 1K
- Under 1% of next downloads
- Next.js 15 support
- Ending soon
- Until Oct 21, 2026
- Licence
- MIT
- Pulls in
- 47 packages
- Resolved by deps.dev
- Status
- Deprecated release
What to upgrade to
15.5.27 is the closest release with no known vulnerabilities.
15.5.27Upgrade to this
Fixes all 35 known vulnerabilities. Released Sep 30, 2026.
No known vulnerabilitiesNewest 15.x release. Released Oct 14, 2026.
No known vulnerabilitiesLatest release. Released Oct 15, 2026.
No known vulnerabilities
15.5.27 came out on Sep 30, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates
Hand the fix to your coding agent
One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.
Findings
- CriticalVulnerability
35 known vulnerabilities in next 15.4.0
Exploited in the wild (CISA)Used in ransomware16 rated high or critical. Most serious: CVE-2025-55182, Next.js is vulnerable to RCE in React flight protocol. Upgrading to 15.5.27 fixes all of them.
- WarningOutdated
next 15.4.0 is 1 major version behind
Latest release is 16.4.2. The maintainers deprecated 15.4.0: "This version has a security vulnerability. Please upgrade to a patched version. See https://nextjs.org/blog/CVE-2025-66478 for more details."
- WarningEnd of life
Next.js 15 reaches end-of-life in 3 days
Support ends 2026-10-21. Plan an upgrade to Next.js 16 LTS.
Every advisory for next 15.4.0
Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.
CriticalGHSA-9qr9-h5gf-34mp on OSV.dev (opens in a new tab)Exploited in the wild (CISA)Used in ransomware
Next.js is vulnerable to RCE in React flight protocol
Fixed in 15.4.8. Published Dec 3, 2025.
CriticalGHSA-2xp9-vwfh-vxw4 on OSV.dev (opens in a new tab)
Next.js: Unauthenticated Remote Code Execution in Image Optimization API when AVIF files are used
Fixed in 15.5.24. Published Sep 8, 2026.
CriticalCVE-2026-75604 on OSV.dev (opens in a new tab)GHSA-p293-qw3h-jr36
Next.js: Unauthenticated Remote Code Execution on windows-hosted servers
Fixed in 15.5.24. Published Sep 8, 2026.
CriticalCVE-2026-64649 on OSV.dev (opens in a new tab)GHSA-89xv-2m56-2m9x
Next.js: Server-Side Request Forgery in Server Actions on custom servers
Fixed in 15.5.21. Published Jul 22, 2026.
CriticalCVE-2026-64645 on OSV.dev (opens in a new tab)GHSA-p9j2-gv94-2wf4
Next.js: Server-Side Request Forgery in rewrites via attacker-controlled destination hostname
Fixed in 15.5.21. Published Jul 22, 2026.
CriticalCVE-2026-64641 on OSV.dev (opens in a new tab)GHSA-m99w-x7hq-7vfj
Next.js: Denial of Service in App Router using Server Actions
Fixed in 15.5.21. Published Jul 22, 2026.
CriticalCVE-2026-45109 on OSV.dev (opens in a new tab)GHSA-26hh-7cqf-hhc6
Next.js has a Middleware / Proxy bypass in App Router applications via segment-prefetch routes - Incomplete Fix Follow-Up
Fixed in 15.5.18. Published May 11, 2026.
CriticalCVE-2026-44579 on OSV.dev (opens in a new tab)GHSA-mg66-mrh9-m8jx
Next.js vulnerable to Denial of Service via connection exhaustion in applications using Cache Components
Fixed in 15.5.16. Published May 11, 2026.
CriticalCVE-2026-44578 on OSV.dev (opens in a new tab)GHSA-c4j6-fc7j-m34r
Next.js vulnerable to server-side request forgery in applications using WebSocket upgrades
Fixed in 15.5.16. Published May 11, 2026.
CriticalCVE-2026-44575 on OSV.dev (opens in a new tab)GHSA-267c-6grr-h53f
Next.js has a Middleware / Proxy bypass in App Router applications via segment-prefetch routes
Fixed in 15.5.16. Published May 11, 2026.
CriticalCVE-2026-44574 on OSV.dev (opens in a new tab)GHSA-492v-c6pp-mqqv
Next.js has a Middleware / Proxy bypass through dynamic route parameter injection
Fixed in 15.5.16. Published May 11, 2026.
CriticalCVE-2026-44573 on OSV.dev (opens in a new tab)GHSA-36qx-fr4f-26g5
Next.js has a Middleware / Proxy bypass in Pages Router applications using i18n
Fixed in 15.5.16. Published May 11, 2026.
CriticalGHSA-8h8q-6873-q5fj on OSV.dev (opens in a new tab)
Next.js Vulnerable to Denial of Service with Server Components
Fixed in 15.5.16. Published May 11, 2026.
CriticalGHSA-q4gf-8mx6-v5v3 on OSV.dev (opens in a new tab)
Next.js has a Denial of Service with Server Components
Fixed in 15.5.15. Published Apr 10, 2026.
CriticalGHSA-h25m-26qc-wcjf on OSV.dev (opens in a new tab)
Next.js HTTP request deserialization can lead to DoS when using insecure React Server Components
Fixed in 15.4.11. Published Jan 28, 2026.
CriticalGHSA-mwv6-3258-q52c on OSV.dev (opens in a new tab)
Next Vulnerable to Denial of Service with Server Components
Fixed in 15.4.9. Published Dec 11, 2025.
WarningCVE-2026-94543 on OSV.dev (opens in a new tab)GHSA-4jqv-mc3x-m676
Next.js has cache poisoning of SSG and ISR pages in self-hosted applications
Fixed in 15.5.27. Published Oct 7, 2026.
WarningCVE-2026-94484 on OSV.dev (opens in a new tab)GHSA-mcj8-r9mp-w47p
Next.js has cache poisoning in SSG/ISR rendering that leads to cross-user content substitution and persistent denial of service
Fixed in 15.5.27. Published Oct 7, 2026.
WarningCVE-2026-64648 on OSV.dev (opens in a new tab)GHSA-68g3-v927-f742
Next.js: Cache confusion of response bodies for requests with bodies
Fixed in 15.5.21. Published Jul 22, 2026.
WarningCVE-2026-64647 on OSV.dev (opens in a new tab)GHSA-4633-3j49-mh5q
Next.js: Cache confusion of response bodies for requests with bodies containing invalid UTF-8 byte sequences
Fixed in 15.5.21. Published Jul 22, 2026.
WarningCVE-2026-64646 on OSV.dev (opens in a new tab)GHSA-4c39-4ccg-62r3
Next.js: Unbounded Server Action payload in Edge runtime
Fixed in 15.5.21. Published Jul 22, 2026.
WarningCVE-2026-64643 on OSV.dev (opens in a new tab)GHSA-955p-x3mx-jcvp
Next.js: Unauthenticated disclosure of internal Server Function endpoints
Fixed in 15.5.21. Published Jul 22, 2026.
WarningCVE-2026-44581 on OSV.dev (opens in a new tab)GHSA-ffhc-5mcf-pf4q
Next.js vulnerable to cross-site scripting in App Router applications using CSP nonces
Fixed in 15.5.16. Published May 11, 2026.
WarningCVE-2026-44580 on OSV.dev (opens in a new tab)GHSA-gx5p-jg67-6x7h
Next.js has cross-site scripting in beforeInteractive scripts with untrusted input
Fixed in 15.5.16. Published May 11, 2026.
WarningCVE-2026-44577 on OSV.dev (opens in a new tab)GHSA-h64f-5h5j-jqjh
Next.js has a Denial of Service in the Image Optimization API
Fixed in 15.5.16. Published May 11, 2026.
WarningCVE-2026-44576 on OSV.dev (opens in a new tab)GHSA-wfc6-r584-vfw7
Next.js vulnerable to cache poisoning in React Server Component responses
Fixed in 15.5.16. Published May 11, 2026.
WarningCVE-2026-29057 on OSV.dev (opens in a new tab)GHSA-ggv3-7p47-pfv8
Next.js: HTTP request smuggling in rewrites
Fixed in 15.5.13. Published Mar 17, 2026.
WarningCVE-2026-27980 on OSV.dev (opens in a new tab)GHSA-3x4c-7xq6-9pq8
Next.js: Unbounded next/image disk cache growth can exhaust storage
Fixed in 15.5.14. Published Mar 17, 2026.
WarningCVE-2025-59471 on OSV.dev (opens in a new tab)GHSA-9g9p-9gw9-jx7f
Next.js self-hosted applications vulnerable to DoS via Image Optimizer remotePatterns configuration
Fixed in 15.5.10. Published Jan 27, 2026.
WarningGHSA-w37m-7fhw-fmv9 on OSV.dev (opens in a new tab)
Next Server Actions Source Code Exposure
Fixed in 15.4.9. Published Dec 11, 2025.
WarningCVE-2025-57752 on OSV.dev (opens in a new tab)GHSA-g5qg-72qw-gw5v
Next.js Affected by Cache Key Confusion for Image Optimization API Routes
Fixed in 15.4.5. Published Aug 29, 2025.
WarningCVE-2025-55173 on OSV.dev (opens in a new tab)GHSA-xv57-4mr9-wg8v
Next.js Content Injection Vulnerability for Image Optimization
Fixed in 15.4.5. Published Aug 29, 2025.
WarningCVE-2025-57822 on OSV.dev (opens in a new tab)GHSA-4342-x723-ch2f
Next.js Improper Middleware Redirect Handling Leads to SSRF
Fixed in 15.4.7. Published Aug 29, 2025.
LowCVE-2026-44572 on OSV.dev (opens in a new tab)GHSA-3g8h-86w9-wvmq
Next.js's Middleware / Proxy redirects can be cache-poisoned
Fixed in 15.5.16. Published May 11, 2026.
LowCVE-2026-44582 on OSV.dev (opens in a new tab)GHSA-vfv6-92ff-j949
Next.js vulnerable to cache poisoning via collisions in React Server Component cache-busting
Fixed in 15.5.16. Published May 11, 2026.
Who is still on a vulnerable next
59% of last week’s 41M next downloads went to versions with known vulnerabilities.
From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.
Is next the only one?
Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.
How this page is checked
StackPrism asks OSV.dev which advisories affect exactly next 15.4.0, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm, support dates from endoflife.date. No AI writes this page: every sentence comes from that data, refreshed every few hours.
Last checked against npm, OSV.dev, deps.dev, CISA KEV, FIRST EPSS (didn’t answer) and endoflife.date. Findings from that source may be missing; this page refreshes soon.