Security context
Medium· 5.3GHSA-w37m-7fhw-fmv9 CWE-1395CWE-497CWE-502Published Dec 11, 2025

Next Server Actions Source Code Exposure

Research this vulnerability

Research is free — Hunters explains how the bug works, the root-cause code pattern, how the fix addresses it, and how to test whether a target is affected, in chat. Investigate & write exploit is a paid run — the engine reads the advisory and fix commits, then builds and validates a working proof-of-concept exploit with reproduction steps.

Affected versions

15.0.0-canary.0 → fixed in 15.0.615.1.1-canary.0 → fixed in 15.1.1015.2.0-canary.0 → fixed in 15.2.715.3.0-canary.0 → fixed in 15.3.715.4.0-canary.0 → fixed in 15.4.915.5.1-canary.0 → fixed in 15.5.815.6.0-canary.0 → fixed in 15.6.0-canary.5916.0.0-beta.0 → fixed in 16.0.916.1.0-canary.0 → fixed in 16.1.0-canary.17

Details

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](https://www.cve.org/CVERecord?id=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](https://react.dev/reference/rsc/server-functions). This could reveal business logic, but would not expose secrets unless they were hardcoded directly into [Server Function](https://react.dev/reference/rsc/server-functions) code.

The fix

No fix commit could be resolved for this advisory (it may reference an issue tracker or a non-GitHub patch). See the references below.

References