Skip to main content
npm (Node.js)

next Known Vulnerabilities & Fixes

next has 43 known security vulnerabilities in npm (Node.js). Upgrade to version 16.4.1 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.

43 Vulnerabilities

High Exploitation Risk

1 vulnerability has >50% exploit probability. Review and update soon.

Recommended safe version: 16.4.1

Upgrading to 16.4.1 or later resolves all 43 known vulnerabilities in next. Run: npm install next@16.4.1

Is next in your project?

Check if you're affected and upgrade to 16.4.1 to stay secure.

43
Total
6
Critical
13
High
19
Medium
5
Low

Security Summary

  • 106 affected version ranges have been identified across these 43 advisories.
  • 100% of known issues have a published fixed version.
  • Highest exploit-probability (EPSS) score for next: 75.3%.
  • Remediation: npm update next

Vulnerabilities

43 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Jan 3, 2025, most recently Oct 22, 2026 (657 days apart).

CVE / GHSASeverity
CVE-2025-29927
Authorization Bypass in Next.js Middleware
Affected
All versions
Fixed in
13.5.9, 14.2.25, 15.2.3 (+1 more)
CRITICAL
CVE-2025-57822
Next.js Improper Middleware Redirect Handling Leads to SSRF
Affected
All versions
Fixed in
14.2.32, 15.4.7
MEDIUM
CVE-2026-75604
Next.js: Unauthenticated Remote Code Execution on windows-hosted servers
Affected
All versions
Fixed in
15.5.24, 16.3.3
CRITICAL
CVE-2026-44578
Next.js vulnerable to server-side request forgery in applications using WebSocket upgrades
Affected
All versions
Fixed in
15.5.16, 16.2.5
HIGH
CVE-2024-56332
Next.js Allows a Denial of Service (DoS) with Server Actions
Affected
All versions
Fixed in
13.5.8, 14.2.21, 15.1.2
MEDIUM
CVE-2026-27980
Next.js: Unbounded next/image disk cache growth can exhaust storage
Affected
All versions
Fixed in
16.1.7, 15.5.14
MEDIUM
CVE-2026-44577
Next.js has a Denial of Service in the Image Optimization API
Affected
All versions
Fixed in
15.5.16, 16.2.5
MEDIUM
CVE-2026-64641
Next.js: Denial of Service in App Router using Server Actions
Affected
All versions
Fixed in
15.5.21, 16.2.11
HIGH
CVE-2026-44573
Next.js has a Middleware / Proxy bypass in Pages Router applications using i18n
Affected
All versions
Fixed in
15.5.16, 16.2.5
HIGH
CVE-2025-55173
Next.js Content Injection Vulnerability for Image Optimization
Affected
All versions
Fixed in
14.2.31, 15.4.5
MEDIUM
CVE-2026-64644
Next.js: Denial of Service in the Image Optimization API using SVGs
Affected
All versions
Fixed in
15.5.21, 16.2.11
MEDIUM
CVE-2026-64642
Next.js: Middleware / Proxy bypass in App Router applications using Turbopack and single locale
Affected
All versions
Fixed in
16.2.11
HIGH
CVE-2026-29057
Next.js: HTTP request smuggling in rewrites
Affected
All versions
Fixed in
16.1.7, 15.5.13
MEDIUM
CVE-2025-59471
Next.js self-hosted applications vulnerable to DoS via Image Optimizer remotePatterns configuration
Affected
All versions
Fixed in
15.5.10, 16.1.5
MEDIUM
CVE-2026-64646
Next.js: Unbounded Server Action payload in Edge runtime
Affected
All versions
Fixed in
15.5.21, 16.2.11
MEDIUM
CVE-2026-64643
Next.js: Unauthenticated disclosure of internal Server Function endpoints
Affected
All versions
Fixed in
15.5.21, 16.2.11
MEDIUM
CVE-2026-94482
Next.js: Denial of Service in App Router using Server Actions
Affected
All versions
Fixed in
15.5.28, 16.4.1
HIGH
CVE-2026-94543
Next.js has cache poisoning of SSG and ISR pages in self-hosted applications
Affected
All versions
Fixed in
15.5.27, 16.3.8
MEDIUM
CVE-2026-64649
Next.js: Server-Side Request Forgery in Server Actions on custom servers
Affected
All versions
Fixed in
15.5.21, 16.2.11
HIGH
CVE-2026-64645
Next.js: Server-Side Request Forgery in rewrites via attacker-controlled destination hostname
Affected
All versions
Fixed in
15.5.21, 16.2.11
HIGH
CVE-2025-32421
Next.js Race Condition to Cache Poisoning
Affected
All versions
Fixed in
14.2.24, 15.1.6
LOW
CVE-2026-94483
Next.js has Server-Side Request Forgery in Image Optimization
Affected
All versions
Fixed in
16.3.8
HIGH
CVE-2026-94484
Next.js has cache poisoning in SSG/ISR rendering that leads to cross-user content substitution and persistent denial of service
Affected
All versions
Fixed in
16.3.8, 15.5.27
MEDIUM
CVE-2026-64648
Next.js: Cache confusion of response bodies for requests with bodies
Affected
All versions
Fixed in
15.5.21, 16.2.11
MEDIUM
CVE-2026-64647
Next.js: Cache confusion of response bodies for requests with bodies containing invalid UTF-8 byte sequences
Affected
All versions
Fixed in
15.5.21, 16.2.11
MEDIUM
CVE-2025-48068
Information exposure in Next.js dev server due to lack of origin verification
Affected
All versions
Fixed in
15.2.2, 14.2.30
LOW
CVE-2025-57752
Next.js Affected by Cache Key Confusion for Image Optimization API Routes
Affected
All versions
Fixed in
14.2.31, 15.4.5
MEDIUM
CVE-2026-44576
Next.js vulnerable to cache poisoning in React Server Component responses
Affected
All versions
Fixed in
15.5.16, 16.2.5
MEDIUM
CVE-2026-44580
Next.js has cross-site scripting in beforeInteractive scripts with untrusted input
Affected
All versions
Fixed in
15.5.16, 16.2.5
MEDIUM
CVE-2026-44581
Next.js vulnerable to cross-site scripting in App Router applications using CSP nonces
Affected
All versions
Fixed in
15.5.16, 16.2.5
MEDIUM
CVE-2026-94485
Next.js has information disclosure in App Router metadata image routes via dynamicParams bypass
Affected
All versions
Fixed in
16.3.8
MEDIUM
CVE-2026-44572
Next.js's Middleware / Proxy redirects can be cache-poisoned
Affected
All versions
Fixed in
15.5.16, 16.2.5
LOW
CVE-2026-94486
Next.js has information disclosure in development server's Model Context Protocol endpoint
Affected
All versions
Fixed in
16.3.8
LOW
CVE-2026-44582
Next.js vulnerable to cache poisoning via collisions in React Server Component cache-busting
Affected
All versions
Fixed in
15.5.16, 16.2.5
LOW
GHSA-2464-fhr4-w9xw
Next.js: Unauthenticated Remote Code Execution in Image Optimization API when SVG files are used
Affected
All versions
Fixed in
15.5.28, 16.4.1
CRITICAL
GHSA-2xp9-vwfh-vxw4
Next.js: Unauthenticated Remote Code Execution in Image Optimization API when AVIF files are used
Affected
All versions
Fixed in
15.5.24, 16.3.3
CRITICAL
GHSA-673q-mjm6-r5xr
Next.js: Unauthenticated Remote Code Execution in `use cache` functions returning typed arrays
Affected
All versions
Fixed in
16.4.1
CRITICAL
GHSA-vcvr-r3jv-pc5j
Next.js: Remote Code Execution in next/og ImageResponse
Affected
All versions
Fixed in
16.3.6
CRITICAL
GHSA-8h8q-6873-q5fj
Next.js Vulnerable to Denial of Service with Server Components
Affected
All versions
Fixed in
15.5.16, 16.2.5
HIGH
GHSA-h25m-26qc-wcjf
Next.js HTTP request deserialization can lead to DoS when using insecure React Server Components
Affected
All versions
Fixed in
15.0.8, 15.1.12, 15.2.9 (+6 more)
HIGH
GHSA-q4gf-8mx6-v5v3
Next.js has a Denial of Service with Server Components
Affected
All versions
Fixed in
15.5.15, 16.2.3
HIGH
GHSA-5j59-xgg2-r9c4
Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up
Affected
All versions
Fixed in
14.2.35, 15.0.7, 15.1.11 (+7 more)
HIGH
GHSA-mwv6-3258-q52c
Next Vulnerable to Denial of Service with Server Components
Affected
All versions
Fixed in
14.2.34, 15.0.6, 15.1.10 (+7 more)
HIGH

About This Data

Vulnerability data for next is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.

CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Related npm (Node.js) Packages

Other packages in this ecosystem, ranked by shared vulnerabilities where available.

Check Your Dependencies

Scan your project to check if you're using a vulnerable version of next.

Data from OSV DatabaseUpdated daily200K+ vulnerabilities indexed