@clerk/nextjs
7.10.2 · 17 Nov 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/nextjs From 7.0.11 to 7.2.4
7 releases in betweenevery note read
- 0
- changes to make
- 2
- advisories fixed
- 3
- new
- 3
- fixes
Security
Fixes 2 advisories affecting 7.0.11
- Official Clerk JavaScript SDKs: Middleware-based route protection bypasscritical · GHSA-vqx2-fgx2-5wq9
- Clerk has an authorization bypass when combining organization, billing, or reverification checkshigh · GHSA-w24r-5266-9c3c
- 7.1.0
Bump
nextdevDependency to15.5.15to pick up the fix for CVE-2026-23869, a high-severity (CVSS 7.5) denial-of-service vulnerability in React Server Components. If you use the Next.js App Router, we recommend upgrading to Next.js15.5.15or16.2.3.
Release by release
- New
Add helpful TypeScript error for incorrect
authimport path - Fixed
Fix an authorization bypass in
has(),auth.protect(), and related predicates when a single call combined conditions from more than one dimension (for example,{ permission, reverification }or{ feature, permission }). A dimension that should have denied the request was treated as indeterminate and ignored by the combining logic, allowing other passing dimensions to carry the result and authorize the call when it should have failed closed.
- New
7.2.2 – 7.2.32 releases, nothing new or fixed in the notes
- Fixed
Normalize URL paths in
createPathMatcherto prevent route protection bypass
- Fixed
- New
Introduce internal
<OAuthConsent />component for rendering a zero-config OAuth consent screen on an OAuth authorize redirect page.
- New
- Security
Bump
nextdevDependency to15.5.15to pick up the fix for CVE-2026-23869, a high-severity (CVSS 7.5) denial-of-service vulnerability in React Server Components. If you use the Next.js App Router, we recommend upgrading to Next.js15.5.15or16.2.3. - New
Introduce internal
useOAuthConsent()hook for fetching OAuth consent screen metadata for the signed-in user.
- Security
- Fixed
Re-exports
useAPIKeys()hook.
- Fixed
20 internal lines (docs, tests, tooling) left out.
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.