npm package

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

next 16.2.7 has 17 known vulnerabilities (8 rated high or critical); 16.3.8 fixes all of them.

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

Known vulnerabilities
17
8 rated high or critical
Released
Jun 1, 2026
Latest is 16.4.2
Downloads last week
388.4K
Under 1% of next downloads
Next.js 16 support
Supported
Licence
MIT
Pulls in
48 packages
Resolved by deps.dev

What to upgrade to

16.3.8 is the closest release with no known vulnerabilities.

  • 16.3.8Upgrade to this

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

    No known vulnerabilities
  • 16.4.2

    Newest 16.x release and the latest release. Released Oct 15, 2026.

    No known vulnerabilities

16.3.8 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 16.2.7

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 16.3.3. 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 16.2.11. Published Jul 22, 2026.

  3. 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 16.2.11. Published Jul 22, 2026.

  4. CriticalCVE-2026-64642 on OSV.dev (opens in a new tab)GHSA-6gpp-xcg3-4w24EPSS: top 51%

    Next.js: Middleware / Proxy bypass in App Router applications using Turbopack and single locale

    Fixed in 16.2.11. 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 16.2.11. 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 16.2.11. 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 16.2.11. 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 16.2.11. 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 16.2.11. 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 16.2.11. 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 16.3.8. Published Oct 7, 2026.

  12. CriticalCVE-2026-94483 on OSV.dev (opens in a new tab)GHSA-cjq9-62q9-8jv4EPSS: top 86%

    Next.js has Server-Side Request Forgery in Image Optimization

    Fixed in 16.3.8. Published Oct 7, 2026.

  13. 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 16.3.8. Published Oct 7, 2026.

  14. WarningCVE-2026-94485 on OSV.dev (opens in a new tab)GHSA-f87g-xv8r-7p7xEPSS: top 97%

    Next.js has information disclosure in App Router metadata image routes via dynamicParams bypass

    Fixed in 16.3.8. Published Oct 7, 2026.

  15. LowCVE-2026-94486 on OSV.dev (opens in a new tab)GHSA-39w2-rjm5-chcvEPSS: top 99%

    Next.js has information disclosure in development server's Model Context Protocol endpoint

    Fixed in 16.3.8. Published Oct 7, 2026.

  16. CriticalGHSA-vcvr-r3jv-pc5j on OSV.dev (opens in a new tab)

    Next.js: Remote Code Execution in next/og ImageResponse

    Fixed in 16.3.6. Published Sep 30, 2026.

  17. 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 16.3.3. 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 16.2.7, 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.