npm package

next 15.5.16 vulnerabilities, and the version that fixes all of them

next 15.5.16 has 13 known vulnerabilities (6 rated high or critical); 15.5.27 fixes all of them. Next.js 15 reaches end of life on Oct 21, 2026. Move to Next.js 16 (LTS).

npm (opens in a new tab) describes it as “The React Framework”

Known vulnerabilities
13
6 rated high or critical
Released
May 6, 2026
Latest is 16.4.2
Downloads last week
81.9K
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

What to upgrade to

15.5.27 is the closest release with no known vulnerabilities.

  • 15.5.27Upgrade to this

    Fixes all 13 known vulnerabilities. Released Sep 30, 2026.

    No known vulnerabilities
  • 15.5.28

    Newest 15.x release. Released Oct 14, 2026.

    No known vulnerabilities
  • 16.4.2

    Latest 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

Every advisory for next 15.5.16

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.

  1. CriticalCVE-2026-75604 on OSV.dev (opens in a new tab)GHSA-p293-qw3h-jr36EPSS: top 19%

    Next.js: Unauthenticated Remote Code Execution on windows-hosted servers

    Fixed in 15.5.24. Published Sep 8, 2026.

  2. CriticalCVE-2026-64641 on OSV.dev (opens in a new tab)GHSA-m99w-x7hq-7vfjEPSS: top 43%

    Next.js: Denial of Service in App Router using Server Actions

    Fixed in 15.5.21. Published Jul 22, 2026.

  3. CriticalCVE-2026-45109 on OSV.dev (opens in a new tab)GHSA-26hh-7cqf-hhc6EPSS: top 46%

    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.

  4. WarningCVE-2026-64644 on OSV.dev (opens in a new tab)GHSA-q8wf-6r8g-63chEPSS: top 50%

    Next.js: Denial of Service in the Image Optimization API using SVGs

    Fixed in 15.5.21. Published Jul 22, 2026.

  5. WarningCVE-2026-64646 on OSV.dev (opens in a new tab)GHSA-4c39-4ccg-62r3EPSS: top 57%

    Next.js: Unbounded Server Action payload in Edge runtime

    Fixed in 15.5.21. Published Jul 22, 2026.

  6. WarningCVE-2026-64643 on OSV.dev (opens in a new tab)GHSA-955p-x3mx-jcvpEPSS: top 58%

    Next.js: Unauthenticated disclosure of internal Server Function endpoints

    Fixed in 15.5.21. Published Jul 22, 2026.

  7. CriticalCVE-2026-64649 on OSV.dev (opens in a new tab)GHSA-89xv-2m56-2m9xEPSS: top 62%

    Next.js: Server-Side Request Forgery in Server Actions on custom servers

    Fixed in 15.5.21. Published Jul 22, 2026.

  8. CriticalCVE-2026-64645 on OSV.dev (opens in a new tab)GHSA-p9j2-gv94-2wf4EPSS: top 66%

    Next.js: Server-Side Request Forgery in rewrites via attacker-controlled destination hostname

    Fixed in 15.5.21. Published Jul 22, 2026.

  9. WarningCVE-2026-64648 on OSV.dev (opens in a new tab)GHSA-68g3-v927-f742EPSS: top 75%

    Next.js: Cache confusion of response bodies for requests with bodies

    Fixed in 15.5.21. Published Jul 22, 2026.

  10. WarningCVE-2026-64647 on OSV.dev (opens in a new tab)GHSA-4633-3j49-mh5qEPSS: top 77%

    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.

  11. WarningCVE-2026-94543 on OSV.dev (opens in a new tab)GHSA-4jqv-mc3x-m676EPSS: top 81%

    Next.js has cache poisoning of SSG and ISR pages in self-hosted applications

    Fixed in 15.5.27. Published Oct 7, 2026.

  12. WarningCVE-2026-94484 on OSV.dev (opens in a new tab)GHSA-mcj8-r9mp-w47pEPSS: top 86%

    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.

  13. 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.

Who is still on a vulnerable next

67% of last week’s 67.5M 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.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly next 15.5.16, 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 and endoflife.date.