npmWorst: Critical78 advisories
next: known vulnerabilities
next has 78 reviewed security advisories in the GitHub Advisory Database — 7 critical, 28 high, 34 moderate, 9 low. The most recent was published 2026-11-16. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the next versions running across your servers, containers and images, and ranks what to patch first.
How to fix next
Upgrade next to a release at or above the fixed version shown for each advisory below. For npm:
npm install next@16.4.5 (or run npm audit fix)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (78)
Next.js: Information disclosure across root params when a 'use cache' function is called through unstable_cache()
Moderate CWE-362
— Affected: from 16.3.0 up to 16.4.5. Fixed in 16.4.5. Published 2026-11-16. GHSA-mfr8-8qww-v76h · CVE-2026-119790
Next.js: Unauthenticated Remote Code Execution in Image Optimization API when SVG files are used
Critical CWE-1395
— Affected: from 16.0.0 up to 16.4.1. Fixed in 16.4.1. Published 2026-10-22. GHSA-2464-fhr4-w9xw
Next.js: Unauthenticated Remote Code Execution in `use cache` functions returning typed arrays
Critical CWE-502
— Affected: from 16.0.0 up to 16.4.1. Fixed in 16.4.1. Published 2026-10-22. GHSA-673q-mjm6-r5xr
Next.js: Denial of Service in App Router using Server Actions
High CWE-770
— Affected: from 16.0.0 up to 16.4.1. Fixed in 16.4.1. Published 2026-10-22. GHSA-p3m5-59mp-jv5r · CVE-2026-94482
Next.js has information disclosure in development server's Model Context Protocol endpoint
Low 5.4 CWE-346
— Affected: from 16.0.0 up to 16.3.8. Fixed in 16.3.8. Published 2026-10-02. GHSA-39w2-rjm5-chcv · CVE-2026-94486
Next.js: Pending `use cache` fill can leak Draft Mode content into regular responses and persisted pages
Moderate 4.2 CWE-524
— Affected: from 16.3.0 up to 16.3.8. Fixed in 16.3.8. Published 2026-10-02. GHSA-3w37-wq28-93x7 · CVE-2026-94544
Next.js has cache poisoning of SSG and ISR pages in self-hosted applications
Moderate 5.3 CWE-524
— Affected: from 16.0.0 up to 16.3.8. Fixed in 16.3.8. Published 2026-10-02. GHSA-4jqv-mc3x-m676 · CVE-2026-94543
Next.js has Server-Side Request Forgery in Image Optimization
High 6.5 CWE-918
— Affected: from 16.0.0 up to 16.3.8. Fixed in 16.3.8. Published 2026-10-02. GHSA-cjq9-62q9-8jv4 · CVE-2026-94483
Next.js has information disclosure in App Router metadata image routes via dynamicParams bypass
Moderate 5.3 CWE-346
— Affected: from 16.0.0 up to 16.3.8. Fixed in 16.3.8. Published 2026-10-02. GHSA-f87g-xv8r-7p7x · CVE-2026-94485
Next.js has cache poisoning in SSG/ISR rendering that leads to cross-user content substitution and persistent denial of service
Moderate 4.8 CWE-524
— Affected: from 15.0.0 up to 15.5.27. Fixed in 15.5.27. Published 2026-10-02. GHSA-mcj8-r9mp-w47p · CVE-2026-94484
next.js cache leak across root param values in nested 'use cache' functions
Moderate CWE-524
— Affected: from 16.3.0 up to 16.3.8. Fixed in 16.3.8. Published 2026-10-01. GHSA-h694-7cp9-m8p3 · CVE-2026-103004
Next.js: Remote Code Execution in next/og ImageResponse
Critical CWE-1395
— Affected: from 16.2.0 up to 16.3.6. Fixed in 16.3.6. Published 2026-09-30. GHSA-vcvr-r3jv-pc5j
Next.js: Unauthenticated Remote Code Execution in Image Optimization API when AVIF files are used
Critical CWE-1395
— Affected: from 16.0.0 up to 16.3.3. Fixed in 16.3.3. Published 2026-09-08. GHSA-2xp9-vwfh-vxw4
Next.js: Unauthenticated Remote Code Execution on windows-hosted servers
Critical 9.0 CWE-22
— Affected: from 16.0.0 up to 16.3.3. Fixed in 16.3.3. Published 2026-09-01. GHSA-p293-qw3h-jr36 · CVE-2026-75604
Next.js: Cache confusion of response bodies for requests with bodies containing invalid UTF-8 byte sequences
Moderate CWE-116
— Affected: from 16.0.0 up to 16.2.11. Fixed in 16.2.11. Published 2026-07-22. GHSA-4633-3j49-mh5q · CVE-2026-64647
Next.js: Unbounded Server Action payload in Edge runtime
Moderate CWE-770
— Affected: from 16.0.0 up to 16.2.11. Fixed in 16.2.11. Published 2026-07-22. GHSA-4c39-4ccg-62r3 · CVE-2026-64646
Next.js: Cache confusion of response bodies for requests with bodies
Moderate CWE-524
— Affected: from 16.0.0 up to 16.2.11. Fixed in 16.2.11. Published 2026-07-22. GHSA-68g3-v927-f742 · CVE-2026-64648
Next.js: Middleware / Proxy bypass in App Router applications using Turbopack and single locale
High CWE-285
— Affected: from 16.0.0 up to 16.2.11. Fixed in 16.2.11. Published 2026-07-22. GHSA-6gpp-xcg3-4w24 · CVE-2026-64642
Next.js: Server-Side Request Forgery in Server Actions on custom servers
High CWE-918
— Affected: from 16.0.0 up to 16.2.11. Fixed in 16.2.11. Published 2026-07-22. GHSA-89xv-2m56-2m9x · CVE-2026-64649
Next.js: Unauthenticated disclosure of internal Server Function endpoints
Moderate CWE-201
— Affected: from 16.0.0 up to 16.2.11. Fixed in 16.2.11. Published 2026-07-22. GHSA-955p-x3mx-jcvp · CVE-2026-64643
Next.js: Denial of Service in App Router using Server Actions
High CWE-834
— Affected: from 16.0.0 up to 16.2.11. Fixed in 16.2.11. Published 2026-07-22. GHSA-m99w-x7hq-7vfj · CVE-2026-64641
Next.js: Server-Side Request Forgery in rewrites via attacker-controlled destination hostname
High CWE-918
— Affected: from 16.0.0 up to 16.2.11. Fixed in 16.2.11. Published 2026-07-22. GHSA-p9j2-gv94-2wf4 · CVE-2026-64645
Next.js: Denial of Service in the Image Optimization API using SVGs
Moderate CWE-407
— Affected: from 16.0.0 up to 16.2.11. Fixed in 16.2.11. Published 2026-07-22. GHSA-q8wf-6r8g-63ch · CVE-2026-64644
Next.js has a Middleware / Proxy bypass in App Router applications via segment-prefetch routes
High 7.5 CWE-288
— Affected: from 16.0.0 up to 16.2.5. Fixed in 16.2.5. Published 2026-05-13. GHSA-267c-6grr-h53f · CVE-2026-44575
Next.js has a Middleware / Proxy bypass in App Router applications via segment-prefetch routes - Incomplete Fix Follow-Up
High 7.5 CWE-288 CWE-358
— Affected: from 16.0.0 up to 16.2.6. Fixed in 16.2.6. Published 2026-05-13. GHSA-26hh-7cqf-hhc6 · CVE-2026-45109
Next.js has a Middleware / Proxy bypass in Pages Router applications using i18n
High 7.5 CWE-863
— Affected: from 16.0.0 up to 16.2.5. Fixed in 16.2.5. Published 2026-05-13. GHSA-36qx-fr4f-26g5 · CVE-2026-44573
Next.js's Middleware / Proxy redirects can be cache-poisoned
Low 3.7 CWE-349
— Affected: from 16.0.0 up to 16.2.5. Fixed in 16.2.5. Published 2026-05-13. GHSA-3g8h-86w9-wvmq · CVE-2026-44572
Next.js has a Middleware / Proxy bypass through dynamic route parameter injection
High 8.1 CWE-288
— Affected: from 16.0.0 up to 16.2.5. Fixed in 16.2.5. Published 2026-05-13. GHSA-492v-c6pp-mqqv · CVE-2026-44574
Next.js vulnerable to server-side request forgery in applications using WebSocket upgrades
High 8.6 CWE-918
— Affected: from 16.0.0 up to 16.2.5. Fixed in 16.2.5. Published 2026-05-13. GHSA-c4j6-fc7j-m34r · CVE-2026-44578
Next.js vulnerable to cross-site scripting in App Router applications using CSP nonces
Moderate 4.7 CWE-79
— Affected: from 16.0.0 up to 16.2.5. Fixed in 16.2.5. Published 2026-05-13. GHSA-ffhc-5mcf-pf4q · CVE-2026-44581
Next.js has cross-site scripting in beforeInteractive scripts with untrusted input
Moderate 6.1 CWE-79
— Affected: from 16.0.0 up to 16.2.5. Fixed in 16.2.5. Published 2026-05-13. GHSA-gx5p-jg67-6x7h · CVE-2026-44580
Next.js has a Denial of Service in the Image Optimization API
Moderate 5.9 CWE-770
— Affected: from 16.0.0 up to 16.2.5. Fixed in 16.2.5. Published 2026-05-13. GHSA-h64f-5h5j-jqjh · CVE-2026-44577
Next.js vulnerable to Denial of Service via connection exhaustion in applications using Cache Components
High 7.5 CWE-770
— Affected: from 16.0.0 up to 16.2.5. Fixed in 16.2.5. Published 2026-05-13. GHSA-mg66-mrh9-m8jx · CVE-2026-44579
Next.js vulnerable to cache poisoning via collisions in React Server Component cache-busting
Low 3.7 CWE-328
— Affected: from 16.0.0 up to 16.2.5. Fixed in 16.2.5. Published 2026-05-13. GHSA-vfv6-92ff-j949 · CVE-2026-44582
Next.js vulnerable to cache poisoning in React Server Component responses
Moderate 5.4 CWE-436
— Affected: from 16.0.0 up to 16.2.5. Fixed in 16.2.5. Published 2026-05-13. GHSA-wfc6-r584-vfw7 · CVE-2026-44576
Next.js Vulnerable to Denial of Service with Server Components
High 7.5 CWE-770
— Affected: from 16.0.0 up to 16.2.5. Fixed in 16.2.5. Published 2026-05-11. GHSA-8h8q-6873-q5fj
Next.js has a Denial of Service with Server Components
High 7.5 CWE-770
— Affected: from 16.0.0-beta.0 up to 16.2.3. Fixed in 16.2.3. Published 2026-04-10. GHSA-q4gf-8mx6-v5v3
Next.js: Unbounded next/image disk cache growth can exhaust storage
Moderate CWE-400
— Affected: from 10.0.0 up to 15.5.14. Fixed in 15.5.14. Published 2026-03-18. GHSA-3x4c-7xq6-9pq8 · CVE-2026-27980
Next.js: HTTP request smuggling in rewrites
Moderate CWE-444
— Affected: from 9.5.0 up to 15.5.13. Fixed in 15.5.13. Published 2026-03-18. GHSA-ggv3-7p47-pfv8 · CVE-2026-29057
Next.js: Unbounded postponed resume buffering can lead to DoS
Moderate CWE-770
— Affected: from 16.0.1 up to 16.1.7. Fixed in 16.1.7. Published 2026-03-18. GHSA-h27x-g6w4-24gq · CVE-2026-27979
Next.js: null origin can bypass dev HMR websocket CSRF checks
Low CWE-1385
— Affected: from 16.0.1 up to 16.1.7. Fixed in 16.1.7. Published 2026-03-18. GHSA-jcc7-9wpm-mj36 · CVE-2026-27977
Next.js: null origin can bypass Server Actions CSRF checks
Moderate CWE-352
— Affected: from 16.0.1 up to 16.1.7. Fixed in 16.1.7. Published 2026-03-18. GHSA-mq59-m269-xvcx · CVE-2026-27978
Next.js HTTP request deserialization can lead to DoS when using insecure React Server Components
High 7.5 CWE-400 CWE-502
— Affected: from 16.1.0-canary.0 up to 16.1.5. Fixed in 16.1.5. Published 2026-01-28. GHSA-h25m-26qc-wcjf
Next.js has Unbounded Memory Consumption via PPR Resume Endpoint
Moderate 5.9 CWE-400 CWE-409 CWE-770
— Affected: from 15.6.0-canary.0 up to 15.6.0-canary.61. Fixed in 15.6.0-canary.61. Published 2026-01-26. GHSA-5f7q-jpqc-wp7h · CVE-2025-59472
Next.js self-hosted applications vulnerable to DoS via Image Optimizer remotePatterns configuration
Moderate 5.9 CWE-400 CWE-770
— Affected: from 15.6.0-canary.0 up to 16.1.5. Fixed in 16.1.5. Published 2026-01-26. GHSA-9g9p-9gw9-jx7f · CVE-2025-59471
Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up
High 7.5 CWE-1395 CWE-400 CWE-502
— Affected: from 16.1.0-canary.17 up to 16.1.0-canary.19. Fixed in 16.1.0-canary.19. Published 2025-12-12. GHSA-5j59-xgg2-r9c4
Next Vulnerable to Denial of Service with Server Components
High 7.5 CWE-1395 CWE-400 CWE-502
— Affected: from 16.1.0-canary.0 up to 16.1.0-canary.17. Fixed in 16.1.0-canary.17. Published 2025-12-11. GHSA-mwv6-3258-q52c
Next Server Actions Source Code Exposure
Moderate 5.3 CWE-1395 CWE-497 CWE-502
— Affected: from 16.1.0-canary.0 up to 16.1.0-canary.17. Fixed in 16.1.0-canary.17. Published 2025-12-11. GHSA-w37m-7fhw-fmv9
Next.js is vulnerable to RCE in React flight protocol
Critical 10.0 CWE-502
— Affected: from 16.0.0-canary.0 up to 16.0.7. Fixed in 16.0.7. Published 2025-12-03. GHSA-9qr9-h5gf-34mp
Next.js Improper Middleware Redirect Handling Leads to SSRF
Moderate 6.5 CWE-918
— Affected: from 15.0.0-canary.0 up to 15.4.7. Fixed in 15.4.7. Published 2025-08-29. GHSA-4342-x723-ch2f · CVE-2025-57822
Next.js Affected by Cache Key Confusion for Image Optimization API Routes
Moderate 6.2 CWE-524
— Affected: from 15.0.0 up to 15.4.5. Fixed in 15.4.5. Published 2025-08-29. GHSA-g5qg-72qw-gw5v · CVE-2025-57752
Next.js Content Injection Vulnerability for Image Optimization
Moderate 4.3 CWE-20
— Affected: from 15.0.0 up to 15.4.5. Fixed in 15.4.5. Published 2025-08-29. GHSA-xv57-4mr9-wg8v · CVE-2025-55173
Next.JS vulnerability can lead to DoS via cache poisoning
High 7.5 CWE-444
— Affected: from 15.0.4-canary.51 up to 15.1.8. Fixed in 15.1.8. Published 2025-07-03. GHSA-67rr-84xm-4c7r · CVE-2025-49826
Next.js has a Cache poisoning vulnerability due to omission of the Vary header
Low 3.7 CWE-444
— Affected: from 15.3.0 up to 15.3.3. Fixed in 15.3.3. Published 2025-07-03. GHSA-r2fc-ccr8-96c4 · CVE-2025-49005
Information exposure in Next.js dev server due to lack of origin verification
Low CWE-1385
— Affected: from 13.0 up to 14.2.30. Fixed in 14.2.30. Published 2025-05-30. GHSA-3h52-269p-cp9r · CVE-2025-48068
Next.js Race Condition to Cache Poisoning
Low 3.7 CWE-362
— Affected: from 15.0.0 up to 15.1.6. Fixed in 15.1.6. Published 2025-05-14. GHSA-qpjv-v59x-3qc4 · CVE-2025-32421
Next.js may leak x-middleware-subrequest-id to external hosts
Low CWE-200
— Affected: from 15.2.3 up to 15.2.4. Fixed in 15.2.4. Published 2025-04-02. GHSA-223j-4rm8-mrmf · CVE-2025-30218
Authorization Bypass in Next.js Middleware
Critical 9.1 CWE-285 CWE-863
— Affected: from 12.0.0 up to 12.3.5. Fixed in 12.3.5. Published 2025-03-21. GHSA-f82v-jwr5-mffw · CVE-2025-29927
Next.js Allows a Denial of Service (DoS) with Server Actions
Moderate 5.3 CWE-770
— Affected: from 15.0.0 up to 15.1.2. Fixed in 15.1.2. Published 2025-01-03. GHSA-7m27-7ghc-44w9 · CVE-2024-56332
Next.js authorization bypass vulnerability
High 7.5 CWE-285 CWE-863
— Affected: from 9.5.5 up to 14.2.15. Fixed in 14.2.15. Published 2024-12-17. GHSA-7gfc-8cq8-jh5f · CVE-2024-51479
Denial of Service condition in Next.js image optimization
Moderate 5.9 CWE-674
— Affected: from 10.0.0 up to 14.2.7. Fixed in 14.2.7. Published 2024-10-14. GHSA-g77x-44xx-532m · CVE-2024-47831
Next.js Cache Poisoning
High 7.5 CWE-349 CWE-639
— Affected: from 14.0.0 up to 14.2.10. Fixed in 14.2.10. Published 2024-09-17. GHSA-gp8f-8m3g-qvj9 · CVE-2024-46982
Next.js Denial of Service (DoS) condition
High 7.5 CWE-400
— Affected: from 13.3.1 up to 13.5.0. Fixed in 13.5.0. Published 2024-07-10. GHSA-fq54-2j52-jc42 · CVE-2024-39693
Next.js Vulnerable to HTTP Request Smuggling
High 7.5 CWE-444
— Affected: from 13.4.0 up to 13.5.1. Fixed in 13.5.1. Published 2024-05-14. GHSA-77r5-gw3j-2mpf · CVE-2024-34350
Next.js Server-Side Request Forgery in Server Actions
High 7.5 CWE-918
— Affected: from 13.4.0 up to 14.1.1. Fixed in 14.1.1. Published 2024-05-14. GHSA-fr5h-rqp8-mj6g · CVE-2024-34351
Next.js missing cache-control header may lead to CDN caching empty reply
Low
— Affected: from 0.9.9 up to 13.4.20-canary.13. Fixed in 13.4.20-canary.13. Published 2023-10-22. GHSA-c59h-r6p8-q9wc · CVE-2023-46298
Unexpected server crash in Next.js
Moderate 5.3 CWE-248 CWE-754
— Affected: from 12.2.3 up to 12.2.4. Fixed in 12.2.4. Published 2022-08-31. GHSA-wff4-fpwg-qqv3 · CVE-2022-36046
Improper CSP in Image Optimization API for Next.js versions between 10.0.0 and 12.1.0
Moderate 5.9 CWE-451
— Affected: from 10.0.0 up to 12.1.0. Fixed in 12.1.0. Published 2022-02-17. GHSA-fmvm-x8mv-47mj · CVE-2022-23646
Denial of Service Vulnerability in next.js
Moderate 5.9 CWE-20 CWE-400
— Affected: from 12.0.0 up to 12.0.9. Fixed in 12.0.9. Published 2022-01-28. GHSA-wr66-vrwm-5g5x · CVE-2022-21721
Unexpected server crash in Next.js.
High 7.5 CWE-20
— Affected: from 0.9.9 up to 11.1.3. Fixed in 11.1.3. Published 2021-12-10. GHSA-25mp-g6fv-mqxx · CVE-2021-43803
XSS in Image Optimization API for Next.js
High 7.5 CWE-79
— Affected: from 10.0.0 up to 11.1.1. Fixed in 11.1.1. Published 2021-08-31. GHSA-9gr3-7897-pp7m · CVE-2021-39178
Open Redirect in Next.js
Moderate 6.9 CWE-601
— Affected: from 0.9.9 up to 11.1.0. Fixed in 11.1.0. Published 2021-08-12. GHSA-vxf5-wxwp-m7g9 · CVE-2021-37699
Open Redirect in Next.js versions
Moderate 4.7 CWE-601
— Affected: from 9.5.0 up to 9.5.4. Fixed in 9.5.4. Published 2020-10-08. GHSA-x56p-c8cg-q435 · CVE-2020-15242
Remote Code Execution in next
High CWE-20
— Affected: from 0.9.9 up to 5.1.0. Fixed in 5.1.0. Published 2020-09-04. GHSA-5vj8-3v2h-h38v
Directory Traversal in Next.js
Moderate 4.4 CWE-23
— Affected: from 0.9.9 up to 9.3.2. Fixed in 9.3.2. Published 2020-03-30. GHSA-fq77-7p7r-83rj · CVE-2020-5284
Next.js has cross site scripting (XSS) vulnerability via the 404 or 500 /_error page
Moderate 6.1 CWE-79
— Affected: from 7.0.0 up to 7.0.2. Fixed in 7.0.2. Published 2018-10-15. GHSA-qw96-mm2g-c8m7 · CVE-2018-18282
Directory traversal vulnerability in Next.js
High 7.5 CWE-22
— Affected: from 1.0.0 up to 4.2.3. Fixed in 4.2.3. Published 2018-01-24. GHSA-m34x-wgrh-g897 · CVE-2018-6184
Next.js Directory Traversal Vulnerability
High 7.5 CWE-22
— Affected: from 1.0.0 up to 2.4.1. Fixed in 2.4.1. Published 2017-11-17. GHSA-3f5c-4qxj-vmpf · CVE-2017-16877
Find next across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.