Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
src/runtime/internal/route-rules.ts: most-fixed (3 issues). Treat as high-risk during review.
3 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: Misordering of route rule execution allowed high-privilege operations like 'redirect' or 'proxy' to run before 'basicAuth' rules, leading to direct access to protected resources without authentication. Subsequent patches enforce basicAuth priority.
Auth Bypass: Inconsistencies between raw and canonicalized path matching enabled attackers to bypass route-specific security rules (GHSA-5w89-w975-hf9q). Robust prefix checks on both raw and canonical paths are required to ensure uniform policy application.
Path Traversal: Percent-encoded directory traversal sequences ('..%2f') allowed attackers to bypass proxy route rules and access resources outside the configured scope (CVE-2026-44373 / GHSA-5w89-w975-hf9q). Nitro now strictly validates that canonicalized paths remain within designated base paths.