GHSA-955p-x3mx-jcvpMedium

Next.js: Unauthenticated disclosure of internal Server Function endpoints

Published
July 22, 2026
Last Modified
July 22, 2026

🔗 CVE IDs covered (1)

📋 Description

Impact

In Next.js applications using App Router, Server Actions (use server) or use cache endpoints can be disclosed bypassing any authentication on the pages where these endpoints are usually used.

Server Action IDs can be disclosed to unauthenticated users via publicly served client artifacts (for example, static chunks containing action references).

Affected users are applications using App Router + Server Actions.

By itself, this disclosure is typically a recon/enumeration primitive; however, it can increase risk when combined with other weaknesses.

Workarounds

Never assume any authentication claims at the use cache or use server boundary. Always authenticate within the boundary.

🎯 Affected products2

  • npm/next:>= 13.0.0, < 15.5.21
  • npm/next:>= 16.0.0, < 16.2.11

🔗 References (6)