@clerk/nextjs
7.10.2 · 17 Nov 2026MIT4.1M / weekRepositoryHomepagenpmAtom feed
5.7.6 is the newest release of 5.x.
In short
3 fixed4 internal
Security
1 advisory affects 5.2.5; 5.7.6 fixes them
- CriticalOfficial Clerk JavaScript SDKs: Middleware-based route protection bypassGHSA-vqx2-fgx2-5wq9 · 16 Apr 2026Fixed in 5.7.6
Release note
Patch Changes
Fixes regression on
@clerk/nextjs/server(introduced on #3758) whereserver-onlymodule was being resolved in runtimes withoutreact-serveravailable, such asgetAuthongetServerSideProps.Return build-time error if
authandcurrentUserserver-side helpers are imported into Client Components.Stop throwing "Error: Clerk: auth() was called but Clerk can't detect usage of authMiddleware()." errors when no user action is needed by removing sourcemaps for all Clerk-bundled server actions.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.