Intel

AIKIDO-2025-10937

next is vulnerable to Source Code Exposure

CVE-2025-55183Published Dec 12, 2025
December 12, 2025

53

CVE Score

Medium

Source Code Exposure

Are you affected? Scan for Free

TL;DR

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.

How do I fix this?

Upgrade Next to the patch version.

Who does this affect?

If your application uses the App Router

Package

Versions

15.0.0 - 15.0.6

Fixed in 15.0.7

15.1.1 - 15.1.10

Fixed in 15.1.11

15.2.0 - 15.2.7

Fixed in 15.2.8

15.3.0 - 15.3.7

Fixed in 15.3.8

15.4.0 - 15.4.9

Fixed in 15.4.10

15.5.1 - 15.5.8

Fixed in 15.5.9

16.0.0 - 16.0.9

Fixed in 16.0.10

Background info

next is vulnerable to Source Code Exposure in versions 15.0.0 - 15.0.6, 15.1.1 - 15.1.10, 15.2.0 - 15.2.7, 15.3.0 - 15.3.7, 15.4.0 - 15.4.9, 15.5.1 - 15.5.8 and 16.0.0 - 16.0.9.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea