VulnarioBlogNext.js vulnerabilities
Next.js Vulnerabilities: The 10 Most Critical Next.js Security Bugs (CVEs)
Next.js vulnerabilities are security flaws in Next.js that attackers can abuse to steal data, take over a server or interrupt a service. Next.js is the leading React framework for production web apps. The National Vulnerability Database (NVD) lists 67 CVEs for Next.js, 2 of them rated critical, and 39 were published in the last 12 months. CISA lists 1 of them in its Known Exploited Vulnerabilities (KEV) catalog, which means attackers have used them against real systems.
This guide lists the 10 most critical Next.js security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Next.js security basics, the current end-of-life dates and a free way to be told about the next Next.js CVE as soon as it is published.
Key takeaways
- 1 CVE is in CISA's KEV catalog, so attackers have exploited it in the wild.
- 2 Next.js CVEs are rated critical (CVSS v3), and 39 new ones were published in the last 12 months.
- The newest CVE in this guide is CVE-2026-64642, published Jul 27, 2026.
- Supported Next.js releases today (per endoflife.date): 16, 15. Releases not on the list are past their announced end of life.
- You can monitor Next.js for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.
How we ranked these Next.js CVEs
We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.
Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.
The 10 most critical Next.js CVEs at a glance
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2025-55182 | 10.0 Critical | 2025-12-03 | Meta React Server Components Remote Code Execution | Yes (ransomware use known) |
| 2 | CVE-2025-29927 | 9.1 Critical | 2025-03-21 | Incorrect authorization | No |
| 3 | CVE-2026-44578 | 8.6 High | 2026-05-13 | Server-side request forgery (SSRF) | No |
| 4 | CVE-2026-64642 | 8.2 High | 2026-07-27 | Security flaw | No |
| 5 | CVE-2025-57822 | 8.2 High | 2025-08-29 | Server-side request forgery (SSRF) | No |
| 6 | CVE-2026-44574 | 8.1 High | 2026-05-13 | Security flaw | No |
| 7 | CVE-2026-64641 | 7.5 High | 2026-07-27 | Security flaw | No |
| 8 | CVE-2026-44573 | 7.5 High | 2026-05-13 | Incorrect authorization | No |
| 9 | CVE-2026-44575 | 7.5 High | 2026-05-13 | Security flaw | No |
| 10 | CVE-2026-44579 | 7.5 High | 2026-05-13 | Allocation without limits | No |
Each Next.js CVE explained
1. CVE-2025-55182: Meta React Server Components Remote Code Execution
- What NVD says
- A pre-authentication remote code execution vulnerability exists in React Server Components versions 19.0.0, 19.1.0, 19.1.1, and 19.2.0 including the following packages: react-server-dom-parcel, react-server-dom-turbopack, and react-server-dom-webpack. The vulnerable code unsafely deserializes payloads from HTTP requests to Server Function endpoints.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 15.0.0 to before 15.0.5; 15.1.0 to before 15.1.9; 15.2.0 to before 15.2.6; 15.3.0 to before 15.3.6
- What to do
- Upgrade to the fixed release for your branch (15.0.5, 15.1.9, 15.2.6) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
2. CVE-2025-29927: Incorrect authorization
- What NVD says
- Next.js is a React framework for building full-stack web applications. Starting in version 1.11.4 and prior to versions 12.3.5, 13.5.9, 14.2.25, and 15.2.3, it is possible to bypass authorization checks within a Next.js application, if the authorization check occurs in middleware.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality and integrity.
- Affected versions
- 11.1.4 to before 12.3.5; 13.0.0 to before 13.5.9; 14.0.0 to before 14.2.25; 15.0.0 to before 15.2.3
- What to do
- Upgrade to the fixed release for your branch (12.3.5, 13.5.9, 14.2.25) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
3. CVE-2026-44578: Server-side request forgery (SSRF)
- What NVD says
- Next.js is a React framework for building full-stack web applications. From 13.4.13 to before 15.5.16 and 16.2.5, self-hosted applications using the built-in Node.js server can be vulnerable to server-side request forgery through crafted WebSocket upgrade requests.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality.
- Affected versions
- 13.4.13 to before 15.5.16; 16.0.0 to before 16.2.5
- What to do
- Upgrade to the fixed release for your branch (15.5.16, 16.2.5) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
4. CVE-2026-64642: Security flaw
- What NVD says
- Next.js is a React framework for building full-stack web applications. In versions 16.0.0 through 16.2.10, crafted requests targeting Next.js applications using App Router built with Turbopack and a single entry in config.i18n.locales can bypass middleware/proxy based authentication. This issue has been fixed in version 16.2.11.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality; limited impact on integrity.
- Affected versions
- 16.0.0 to before 16.2.11
- What to do
- Upgrade to 16.2.11 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
5. CVE-2025-57822: Server-side request forgery (SSRF)
- What NVD says
- Next.js is a React framework for building full-stack web applications. Prior to versions 14.2.32 and 15.4.7, when next() was used without explicitly passing the request object, it could lead to SSRF in self-hosted applications that incorrectly forwarded user-supplied headers. This vulnerability has been fixed in Next.js versions 14.2.32 and 15.4.7.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality; limited impact on integrity.
- Affected versions
- before 14.2.32; 15.0.0 to before 15.4.7
- What to do
- Upgrade to the fixed release for your branch (14.2.32, 15.4.7) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
6. CVE-2026-44574: Security flaw
- What NVD says
- Next.js is a React framework for building full-stack web applications. From 15.4.0 to before 15.5.16 and 16.2.5, applications that rely on middleware to protect dynamic routes can be vulnerable to authorization bypass.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality and integrity.
- Affected versions
- 15.4.0 to before 15.5.16; 16.0.0 to before 16.2.5
- What to do
- Upgrade to the fixed release for your branch (15.5.16, 16.2.5) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
7. CVE-2026-64641: Security flaw
- What NVD says
- Next.js is a React framework for building full-stack web applications. In versions 13.0.0 through 15.5.20 and 16.0.0 through 16.2.10, crafted requests targeting Next.js applications using App Router with at least one Server Action can lead to excessive CPU usage blocking processing of further requests in the same process. This issue has been fixed in versions 15.5.21 and 16.2.11.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
- Affected versions
- 13.0.0 to before 15.5.21; 16.0.0 to before 16.2.11
- What to do
- Upgrade to the fixed release for your branch (15.5.21, 16.2.11) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
8. CVE-2026-44573: Incorrect authorization
- What NVD says
- Next.js is a React framework for building full-stack web applications. From 12.2.0 to before 15.5.16 and 16.2.5, Applications using the Pages Router with i18n configured and middleware/proxy-based authorization can allow unauthorized access to protected page data through locale-less /_next/data/<buildId>/<page>.json requests.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality.
- Affected versions
- 12.2.0 to before 15.5.16; 16.0.0 to before 16.2.5
- What to do
- Upgrade to the fixed release for your branch (15.5.16, 16.2.5) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
9. CVE-2026-44575: Security flaw
- What NVD says
- Next.js is a React framework for building full-stack web applications. From 15.2.0 to before 15.5.16 and 16.2.5, App Router applications that rely on middleware or proxy-based checks for authorization can allow unauthorized access through transport-specific route variants used for segment prefetching.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality.
- Affected versions
- 15.2.0 to before 15.5.16; 16.0.0 to before 16.2.5
- What to do
- Upgrade to the fixed release for your branch (15.5.16, 16.2.5) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
10. CVE-2026-44579: Allocation without limits
- What NVD says
- Next.js is a React framework for building full-stack web applications. From to before 15.5.16 and 16.2.5, applications using Partial Prerendering through the Cache Components feature can be vulnerable to connection exhaustion through crafted POST requests to a server action.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
- Affected versions
- 15.0.0 to before 15.5.16; 16.0.0 to before 16.2.5
- What to do
- Upgrade to the fixed release for your branch (15.5.16, 16.2.5) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
Next.js end of life: which versions still get security fixes
Running a release that still receives security fixes is the most effective way to avoid Next.js vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported Next.js releases are 16, 15.
| Release | Released | End of life | Latest | Status |
|---|---|---|---|---|
| Next.js 16 (LTS) | Oct 22, 2025 | Not announced | 16.4.4 | Supported |
| Next.js 15 (LTS) | Oct 21, 2024 | Jan 31, 2027 | 15.5.28 | Supported |
| Next.js 14 (LTS) | Oct 26, 2023 | Oct 26, 2025 | 14.2.35 | End of life |
| Next.js 13 | Oct 25, 2022 | Dec 21, 2024 | 13.5.11 | End of life |
| Next.js 12 | Oct 26, 2021 | Nov 21, 2022 | 12.3.7 | End of life |
| Next.js 11 | Jun 15, 2021 | Jan 27, 2022 | 11.1.4 | End of life |
| Next.js 10 | Oct 27, 2020 | Jun 15, 2021 | 10.2.3 | End of life |
| Next.js 9 | Jul 8, 2019 | Oct 27, 2020 | 9.5.5 | End of life |
Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.
Next.js security checklist
- Update the core, themes, plugins and extensions as soon as security releases appear.
- Remove plugins, themes and modules you do not use.
- Give users the minimum role they need and enable two-factor authentication for administrators.
- Keep debug and development modes off in production.
- Back up files and database before every update.
- Put a web application firewall and rate limiting in front of login pages.
Your stack is bigger than Next.js. A flaw anywhere in the chain can be the way in, so also review our guides to React vulnerabilities, Node.js vulnerabilities and Docker vulnerabilities.
How to get alerted about new Next.js vulnerabilities
NVD received 39 new Next.js CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:
- Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
- Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
- Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.
Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose Next.js and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.
- Free: all technologies, alerts grouped at most every 12 hours.
- Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.
Related security guides
Few stacks run Next.js alone. These guides cover the technologies it is most often deployed with.
- React vulnerabilities: React is Meta's JavaScript library for building user interfaces.
- Node.js vulnerabilities: Node.js is a JavaScript runtime for building servers and tools.
- Docker vulnerabilities: Docker is the standard tool for building and running containers.
- Angular vulnerabilities: Angular is Google's TypeScript web application framework (AngularJS is its legacy predecessor).
- Apache Struts vulnerabilities: Apache Struts is a Java web application framework, known for the 2017 Equifax breach.
- Django vulnerabilities: Django is a high-level Python web framework.
- Joomla vulnerabilities: Joomla is an open-source content management system.
Frequently asked questions about Next.js vulnerabilities
What are the most critical Next.js vulnerabilities?
Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Next.js CVEs include CVE-2025-55182 (CVSS 10.0), CVE-2025-29927 (CVSS 9.1), CVE-2026-44578 (CVSS 8.6). The guide above ranks the 10 most critical with affected versions and fixes.
Have Next.js vulnerabilities been exploited in real attacks?
Yes. CISA's Known Exploited Vulnerabilities (KEV) catalog lists 1 Next.js CVE, including CVE-2025-55182. Treat these as the highest priority to patch.
How many vulnerabilities does Next.js have?
As of Nov 3, 2026 the National Vulnerability Database lists 67 CVEs for Next.js, with 2 rated critical by CVSS v3. 39 were published in the previous twelve months.
Which Next.js versions are still supported?
As of Nov 3, 2026, endoflife.date lists these Next.js releases as supported: 16, 15. Releases that are not listed are past their announced end of life.
How can I get alerted when a new Next.js CVE is published?
Add Next.js to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Next.js and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.
Is Next.js secure?
Next.js is as secure as its patch level. NVD published 39 new Next.js CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.
What is CVE-2025-55182?
CVE-2025-55182 is a critical Next.js vulnerability with a CVSS score of 10.0, published Dec 3, 2025. A pre-authentication remote code execution vulnerability exists in React Server Components versions 19.0.0, 19.1.0, 19.1.1, and 19.2.0 including the following packages: react-server-dom-parcel, react-server-dom-turbopack, and react-server-dom-webpack.
Sources
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
- endoflife.date: Next.js (opens in a new tab), release and support dates, checked Nov 3, 2026.
This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.