GHSA-w37m-7fhw-fmv9 Next Server Actions Source Code Exposure

Not scored Published

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.

PackageAffectedFixed in
next npmFrom 15.0.0-canary.015.0.6
next npmFrom 15.0.0-canary.015.0.6
next npmFrom 15.1.1-canary.015.1.10
next npmFrom 15.1.1-canary.015.1.10
next npmFrom 15.2.0-canary.015.2.7
next npmFrom 15.2.0-canary.015.2.7
12 more packages
next npmFrom 15.3.0-canary.015.3.7
next npmFrom 15.3.0-canary.015.3.7
next npmFrom 15.4.0-canary.015.4.9
next npmFrom 15.4.0-canary.015.4.9
next npmFrom 15.5.1-canary.015.5.8
next npmFrom 15.5.1-canary.015.5.8
next npmFrom 15.6.0-canary.015.6.0-canary.59
next npmFrom 15.6.0-canary.015.6.0-canary.59
next npmFrom 16.0.0-beta.016.0.9
next npmFrom 16.0.0-beta.016.0.9
next npmFrom 16.1.0-canary.016.1.0-canary.17
next npmFrom 16.1.0-canary.016.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.

Sources

Is GHSA-w37m-7fhw-fmv9 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free