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.
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.
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 / GHSA | Severity |
|---|---|
| CVE-2025-29927 Authorization Bypass in Next.js Middleware
| CRITICAL |
| CVE-2025-57822 Next.js Improper Middleware Redirect Handling Leads to SSRF
| MEDIUM |
| CVE-2026-75604 Next.js: Unauthenticated Remote Code Execution on windows-hosted servers
| CRITICAL |
| CVE-2026-44578 Next.js vulnerable to server-side request forgery in applications using WebSocket upgrades
| HIGH |
| CVE-2024-56332 Next.js Allows a Denial of Service (DoS) with Server Actions
| MEDIUM |
| CVE-2026-27980 Next.js: Unbounded next/image disk cache growth can exhaust storage
| MEDIUM |
| CVE-2026-44577 Next.js has a Denial of Service in the Image Optimization API
| MEDIUM |
| CVE-2026-64641 Next.js: Denial of Service in App Router using Server Actions
| HIGH |
| CVE-2026-44573 Next.js has a Middleware / Proxy bypass in Pages Router applications using i18n
| HIGH |
| CVE-2025-55173 Next.js Content Injection Vulnerability for Image Optimization
| MEDIUM |
| CVE-2026-64644 Next.js: Denial of Service in the Image Optimization API using SVGs
| MEDIUM |
| CVE-2026-64642 Next.js: Middleware / Proxy bypass in App Router applications using Turbopack and single locale
| HIGH |
| CVE-2026-29057 Next.js: HTTP request smuggling in rewrites
| MEDIUM |
| CVE-2025-59471 Next.js self-hosted applications vulnerable to DoS via Image Optimizer remotePatterns configuration
| MEDIUM |
| CVE-2026-64646 Next.js: Unbounded Server Action payload in Edge runtime
| MEDIUM |
| CVE-2026-64643 Next.js: Unauthenticated disclosure of internal Server Function endpoints
| MEDIUM |
| CVE-2026-94482 Next.js: Denial of Service in App Router using Server Actions
| HIGH |
| CVE-2026-94543 Next.js has cache poisoning of SSG and ISR pages in self-hosted applications
| MEDIUM |
| CVE-2026-64649 Next.js: Server-Side Request Forgery in Server Actions on custom servers
| HIGH |
| CVE-2026-64645 Next.js: Server-Side Request Forgery in rewrites via attacker-controlled destination hostname
| HIGH |
| CVE-2025-32421 Next.js Race Condition to Cache Poisoning
| LOW |
| CVE-2026-94483 Next.js has Server-Side Request Forgery in Image Optimization
| 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
| MEDIUM |
| CVE-2026-64648 Next.js: Cache confusion of response bodies for requests with bodies
| MEDIUM |
| CVE-2026-64647 Next.js: Cache confusion of response bodies for requests with bodies containing invalid UTF-8 byte sequences
| MEDIUM |
| CVE-2025-48068 Information exposure in Next.js dev server due to lack of origin verification
| LOW |
| CVE-2025-57752 Next.js Affected by Cache Key Confusion for Image Optimization API Routes
| MEDIUM |
| CVE-2026-44576 Next.js vulnerable to cache poisoning in React Server Component responses
| MEDIUM |
| CVE-2026-44580 Next.js has cross-site scripting in beforeInteractive scripts with untrusted input
| MEDIUM |
| CVE-2026-44581 Next.js vulnerable to cross-site scripting in App Router applications using CSP nonces
| MEDIUM |
| CVE-2026-94485 Next.js has information disclosure in App Router metadata image routes via dynamicParams bypass
| MEDIUM |
| CVE-2026-44572 Next.js's Middleware / Proxy redirects can be cache-poisoned
| LOW |
| CVE-2026-94486 Next.js has information disclosure in development server's Model Context Protocol endpoint
| LOW |
| CVE-2026-44582 Next.js vulnerable to cache poisoning via collisions in React Server Component cache-busting
| LOW |
| GHSA-2464-fhr4-w9xw Next.js: Unauthenticated Remote Code Execution in Image Optimization API when SVG files are used
| CRITICAL |
| GHSA-2xp9-vwfh-vxw4 Next.js: Unauthenticated Remote Code Execution in Image Optimization API when AVIF files are used
| CRITICAL |
| GHSA-673q-mjm6-r5xr Next.js: Unauthenticated Remote Code Execution in `use cache` functions returning typed arrays
| CRITICAL |
| GHSA-vcvr-r3jv-pc5j Next.js: Remote Code Execution in next/og ImageResponse
| CRITICAL |
| GHSA-8h8q-6873-q5fj Next.js Vulnerable to Denial of Service with Server Components
| HIGH |
| GHSA-h25m-26qc-wcjf Next.js HTTP request deserialization can lead to DoS when using insecure React Server Components
| HIGH |
| GHSA-q4gf-8mx6-v5v3 Next.js has a Denial of Service with Server Components
| HIGH |
| GHSA-5j59-xgg2-r9c4 Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up
| HIGH |
| GHSA-mwv6-3258-q52c Next Vulnerable to Denial of Service with Server Components
| 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.