PT-2026-168787
CVE-2026-145493
·
Published
2026-12-05
·
Updated
2026-12-05
Description by
CVSS 3.1
4.8
MediumMetricsAV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
next-auth 4.2.0 through 4.24.15 contains an authentication bypass vulnerability in the withAuth middleware handleMiddleware function due to unbounded startsWith prefix checks. Unauthenticated attackers can request routes like /api/authors or / next-admin to skip session checks and the authorized callback, reaching middleware-protected routes.
Found an issue in the description? Have something to add? Feel free to write us 👾