p PatchFirst

CVE-2026-75604

CVE-2026-75604 · Next.js: Unauthenticated Remote Code Execution on windows-hosted servers

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Next.js is a React framework for building full-stack web applications. From 13.4.0 until 15.5.24 and 16.3.3, Next.js applications using Pages Router or App Router without Cache Components on Windows-hosted servers do not consistently escape backslashes in route segments before constructing incremental-cache paths. In packages/next/src/shared/lib/router/utils/escape-path-delimiters.ts and packages/next/src/server/lib/incremental-cache/file-system-cache.ts, a remote request can supply encoded Windows path separators that traverse outside the intended cache root and expose private build data, including the server-reference-manifest encryption key. Disclosure of that key can enable remote code execution in the affected application. This issue is fixed in versions 15.5.24 and 16.3.3.

CVSS 9.0 · Critical · EPSS 2.1% · Public exploit · Fix available

Published
Updated

Stack: node

Affected products and versions

  • next.js

    Versions
    • >= 13.4.0, < 15.5.24: Affected
    • >= 16.0.0, < 16.3.3: Affected

    No fix published

  • next npm

    Affected ranges
    • SEMVER: ≥ 13.4.0, < 15.5.24

    Update to 15.5.24

  • next npm

    Affected ranges
    • SEMVER: ≥ 16.0.0, < 16.3.3

    Update to 16.3.3

Original sources

Check your server →