GHSA-w37m-7fhw-fmv9 — next
MEDIUMGHSA-w37m-7fhw-fmv9 is a medium-severity (CVSS 5.3) vulnerability in next. A fix is available for next — see the affected versions and patch details below.
Next Server Actions Source Code Exposure
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-55183.
A malicious HTTP request can be crafted and sent to any App Router endpoint that can return the compiled source code of Server Functions. This could reveal business logic, but would not expose secrets unless they were hardcoded directly into Server Function code.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦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 |
| 📦npm | next | ≥ 15.5.1-canary.0&&< 15.5.8 | 15.5.8npm install next@15.5.8 |
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 15.0.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-w37m-7fhw-fmv9 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-w37m-7fhw-fmv9 can be triaged on real exposure rather than presence alone.
Tailored to GHSA-w37m-7fhw-fmv9. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is GHSA-w37m-7fhw-fmv9 in your dependencies?
O3 Security finds GHSA-w37m-7fhw-fmv9 across npm dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.