@clerk/nextjs
7.10.2 · 17 Nov 2026MIT4.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/nextjs From 6.9.6 to 6.39.3
140 releases in betweennotes for 139
Counted from 139 of 140 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Deprecated6.12.0
Security
Fixes 3 advisories affecting 6.9.6
- @clerk/backend Performs Insufficient Verification of Data Authenticityhigh · GHSA-9mp4-77wg-rwx9
- 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
- 6.14.0
Automatic generation of CSP headers with default security policies compatible with Clerk requirements
- 6.14.0
Support for both standard and strict-dynamic CSP modes
- 6.14.0
Automatic nonce generation for strict-dynamic mode
- 6.14.0
Ability to add custom directives to match project requirements
- 6.12.9
The majority of Clerk applications are not impacted by the NextJS vulnerability disclosed on 22 MAR 2025. Your application might be impacted if you're not using the latest NextJS release and you do not call auth() in your routes or pages. We still recommend upgrading to the latest NextJS version as soon as possible.
Release by release
6.39.3no release note
- Fixed
Normalize URL paths in
createPathMatcherto prevent route protection bypass
- Fixed
6.39.1nothing new or fixed in the note
- New
Added support for JWT token format when creating and verifying machine-to-machine (M2M) tokens. This enables fully networkless verification when using the public JWT key.
- New
6.38.1 – 6.38.33 releases, nothing new or fixed in the notes
- New
Introduces MFA setup session task for handling require MFA after sign-in and sign-up
- Fixed
Fix infinite handshake redirect loop when deploying Next.js apps with Clerk development instances to Netlify
- New
6.37.3 – 6.37.53 releases, nothing new or fixed in the notes
- Fixed
Fixed an issue where JWT OAuth access tokens where not treated as a machine token
- Fixed
498 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.