GHSA-w37m-7fhw-fmv9 Next Server Actions Source Code Exposure
Attackers can send malicious HTTP requests to App Router endpoints to retrieve compiled source code of Server Functions, potentially exposing business logic.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-w37m-7fhw-fmv9?
GHSA-w37m-7fhw-fmv9 is a vulnerability in next, published on 11 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by GHSA-w37m-7fhw-fmv9?
18 open source packages ship an affected version, including next.
| Package | Affected | Fixed in |
|---|---|---|
next npm | From 15.0.0-canary.0 | 15.0.6 |
next npm | From 15.0.0-canary.0 | 15.0.6 |
next npm | From 15.1.1-canary.0 | 15.1.10 |
next npm | From 15.1.1-canary.0 | 15.1.10 |
next npm | From 15.2.0-canary.0 | 15.2.7 |
next npm | From 15.2.0-canary.0 | 15.2.7 |
12 more packages
next npm | From 15.3.0-canary.0 | 15.3.7 |
next npm | From 15.3.0-canary.0 | 15.3.7 |
next npm | From 15.4.0-canary.0 | 15.4.9 |
next npm | From 15.4.0-canary.0 | 15.4.9 |
next npm | From 15.5.1-canary.0 | 15.5.8 |
next npm | From 15.5.1-canary.0 | 15.5.8 |
next npm | From 15.6.0-canary.0 | 15.6.0-canary.59 |
next npm | From 15.6.0-canary.0 | 15.6.0-canary.59 |
next npm | From 16.0.0-beta.0 | 16.0.9 |
next npm | From 16.0.0-beta.0 | 16.0.9 |
next npm | From 16.1.0-canary.0 | 16.1.0-canary.17 |
next npm | From 16.1.0-canary.0 | 16.1.0-canary.17 |
How do I fix GHSA-w37m-7fhw-fmv9?
Upgrade next to a fixed version for your release line: 15.0.6, 15.1.10, 15.2.7 or 15.3.7.
Is GHSA-w37m-7fhw-fmv9 being exploited?
There is no known exploitation of GHSA-w37m-7fhw-fmv9 in the wild and no public exploit code.