Highlights
Auth Bypass: 16 prior fixes. Scrutinize any change in this area.
packages/vinext/src/config/config-matchers.ts: most-fixed (6 issues). Treat as high-risk during review.
35 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Auth Bypass: Inbound request headers could spoof internal protocol states, bypassing routing filters and authentication boundaries. Preventing this required stripping internal Next.js headers (such as flight/middleware headers) at the initial request boundary.
SSRF: The image optimization component fetched arbitrary remote URLs, introducing Server-Side Request Forgery risks. Resolving this required implementing private IP address blocklisting for outgoing fetch operations.
Open Redirect: Redirect logic frequently failed to handle protocol-relative URLs, leading slashes, and percent-encoded backslashes, allowing attackers to construct open redirect payloads.