Next.js patches SSRF and authorization bypass flaws in self-hosted apps
Vercel issued a coordinated Next.js security release covering 13 advisories, including a high-severity server-side request forgery flaw tracked as CVE-2026-44578 / GHSA-c4j6-fc7j-m34r. The bug affects self-hosted applications using the built-in Node.js server, where crafted WebSocket upgrade requests can be abused to proxy traffic to arbitrary internal or external destinations. That exposure can let attackers reach cloud metadata endpoints, internal admin interfaces, and other internal services, potentially stealing cloud credentials, API keys, and deployment secrets. Vercel-hosted deployments were reported as unaffected because they do not use the vulnerable WebSocket routing path.
The release also fixed an App Router authorization bypass, GHSA-267c-6grr-h53f, in which specially crafted .rsc and segment-prefetch URLs could evade middleware or proxy-based access controls and expose protected content. A public GitHub repository has since collected proof-of-concept material for 12 issues fixed in next 16.2.5, including SSRF, middleware bypass, cache poisoning, XSS, and denial-of-service bugs, increasing the urgency for defenders to patch. Vercel said patching is the only complete mitigation and advised upgrading to Next.js 15.5.18 or 16.2.6, with immediate interim steps including blocking unnecessary WebSocket upgrades, restricting origin-server egress to metadata and internal networks, and enforcing authorization checks in route or page logic rather than relying solely on middleware.
Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
8 events from the most recent confirmed update back to the earliest known activity.
Reporting highlights SSRF risk to cloud credentials and internal services
Public reporting summarized CVE-2026-44578 as a high-severity SSRF vulnerability that could expose cloud metadata, API keys, deployment secrets, and internal admin interfaces in self-hosted Next.js deployments. The coverage reiterated fixed versions and recommended mitigations such as blocking unnecessary WebSocket upgrades and restricting origin egress.
Public PoC repository appears for Next.js 16.2.5-fixed vulnerabilities
A GitHub repository was published collecting reverse-engineered proof-of-concept material for 12 security issues fixed in Next.js 16.2.5. The repository includes exploit scripts, patch diffs, vulnerable code excerpts, and reproduction material for defensive research and regression testing.
Next.js releases fixes for May 2026 security advisories
As part of its May 2026 security release, Next.js shipped coordinated fixes for 13 advisories covering issues including denial of service, authorization bypasses, SSRF, cache poisoning, and XSS. The release notes direct users to upgrade Next.js and related React packages, emphasizing that patching is the only complete mitigation.
Next.js issues follow-up advisory for incomplete App Router bypass fix
Vercel published advisory GHSA-26hh-7cqf-hhc6 describing an incomplete-fix follow-up for middleware or proxy bypass in App Router applications via segment-prefetch routes. The advisory indicates the originally disclosed bypass issue required additional remediation beyond the initial fix.
Next.js discloses Pages Router i18n middleware bypass
Vercel published advisory GHSA-36qx-fr4f-26g5 for an authorization bypass affecting Pages Router applications with i18n enabled that rely on middleware or proxy-based access controls. Locale-less /_next/data/<buildId>/<page>.json requests could bypass middleware and expose protected server-side rendered JSON, with fixes released in 15.5.16 and 16.2.5.
Next.js discloses dynamic route parameter middleware bypass
Vercel published advisory GHSA-492v-c6pp-mqqv for an authorization bypass affecting Next.js applications that use middleware to protect dynamic routes. Specially crafted query parameters could alter the dynamic route value processed by the page while leaving the visible path unchanged, and the issue was fixed in versions 15.5.16 and 16.2.5.
Next.js discloses App Router middleware bypass vulnerability
Vercel published advisory GHSA-267c-6grr-h53f covering an authorization bypass in App Router applications that rely on middleware or proxy-based checks. Crafted .rsc and segment-prefetch URLs could bypass intended middleware protections in affected 15.x and 16.x releases.
Next.js discloses SSRF flaw in WebSocket upgrade handling
Vercel published advisory GHSA-c4j6-fc7j-m34r for CVE-2026-44578, describing an SSRF issue in self-hosted Next.js applications using the built-in Node.js server. The flaw affects versions 13.4.13 through before 15.5.16 and 16.0.0 through before 16.2.5, while Vercel-hosted deployments are stated to be unaffected.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
8 references tracked. Mallory keeps watching after this page renders.
Critical Next.js Vulnerability Exposes Cloud Credentials, API keys, and Admin Panels
cybersecuritynews.com
Open sourceGitHub - dwisiswant0/next-16.2.4-pocs: Next.js v16.2.4 Security PoC Collection (CVE-2026-23870, CVE-2026-44575, CVE-2026-44579, CVE-2026-44574, CVE-2026-44578, CVE-2026-44573, CVE-2026-44581, CVE-2026-44580, CVE-2026-44577, CVE-2026-44576, CVE-2026-44582, CVE-2026-44572) · GitHub
github.com
Open sourceMiddleware / Proxy bypass in App Router applications via segment-prefetch routes - Incomplete Fix Follow-Up · Advisory · vercel/next.js · GitHub
github.com
Open sourceNext.js May 2026 security release - Vercel
vercel.com
Open sourceServer-side request forgery in applications using WebSocket upgrades · Advisory · vercel/next.js · GitHub
github.com
Open sourceMiddleware / Proxy bypass in Pages Router applications using i18n · Advisory · vercel/next.js · GitHub
github.com
Open sourceMiddleware / Proxy bypass through dynamic route parameter injection · Advisory · vercel/next.js · GitHub
github.com
Open sourceMiddleware / Proxy bypass in App Router applications via segment-prefetch routes · Advisory · vercel/next.js · GitHub
github.com
Open sourceSee the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


