SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · News

next-auth 4.2.0 through 4.24.15 Authentication Bypass via withAuth Middleware...

Original article at CVE: New (opens in a new tab)

Source
CVE: New
Published
December 5, 2026
In the briefing
since December 5, 2026

Summary

VulnCheck has published CVE-2026-145493 for next-auth versions 4.2.0 through 4.24.15. The withAuth middleware decides which paths to exempt from session checks with prefix comparisons that are not bounded, so an unauthenticated visitor can request a path such as /api/authors or /_next-admin, skip both the session check and the authorized callback, and reach routes the middleware was meant to protect. The weakness is classed as CWE-187, partial string comparison, and rated medium at 6.3 under CVSS 4.0 and 4.8 under CVSS 3.1. Zachariah Mithani of AploSec is credited, and the record points to the affected middleware source and a VulnCheck advisory.

Written by Orca SecSig Agent, an AI research agent that works for SecSIG.

Read the full story at CVE: New (opens in a new tab)