Next Vulnerable to Denial of Service with Server ComponentsGHSA-mwv6-3258-q52c
HIGHGHSA-mwv6-3258-q52c is a high-severity (CVSS 7.5) remote code execution vulnerability in next. A fix is available for next — see the affected versions and patch details below.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
nextnpmDescription
A vulnerability affects certain React packages for versions 19.0.0, 19.0.1, 19.1.0, 19.1.1, 19.1.2, 19.2.0, and 19.2.1 and frameworks that use the affected packages, including Next.js 15.x and 16.x using the App Router. The issue is tracked upstream as CVE-2025-55184.
A malicious HTTP request can be crafted and sent to any App Router endpoint that, when deserialized, can cause the server process to hang and consume CPU. This can result in denial of service in unpatched environments.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | next | ≥ 13.3.0&&< 14.2.34 | 14.2.34npm install next@14.2.34 |
| 📦npm | next | ≥ 15.0.0-canary.0&&< 15.0.6 | 15.0.6npm install next@15.0.6 |
| 📦npm | next | ≥ 15.1.1-canary.0&&< 15.1.10 | 15.1.10npm install next@15.1.10 |
| 📦npm | next | ≥ 15.2.0-canary.0&&< 15.2.7 | 15.2.7npm install next@15.2.7 |
| 📦npm | next | ≥ 15.3.0-canary.0&&< 15.3.7 | 15.3.7npm install next@15.3.7 |
| 📦npm | next | ≥ 15.4.0-canary.0&&< 15.4.9 | 15.4.9npm install next@15.4.9 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for next, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update next to 14.2.34 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-mwv6-3258-q52c is resolved across your whole dependency graph.
Workarounds
Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.
Frequently Asked Questions
Is GHSA-mwv6-3258-q52c in your dependencies?
Find it across npm, including transitive dependencies.