@clerk/react-router
3.7.6 · 19 Nov 2026MIT135.5k / weekRepositoryHomepagenpmAtom feed
1.10.2 is the newest release of 1.x.
In short
2 new1 fixed4 internal
Security
2 advisories affect 1.5.0; 2.4.13 fixes them
- HighClerk has an authorization bypass when combining organization, billing, or reverification checksGHSA-w24r-5266-9c3c · 30 Apr 2026Fixed in 2.4.13
- High@clerk/backend Performs Insufficient Verification of Data AuthenticityGHSA-9mp4-77wg-rwx9 · 9 Jul 2025Fixed in 1.6.4
Release note
Minor Changes
Machine authentication is now supported for advanced use cases via the backend SDK. You can use
clerkClient.authenticateRequestto validate machine tokens (such as API keys, OAuth tokens, and machine-to-machine tokens). No new helpers are included in these packages yet.Example (Astro):
import { clerkClient } from '@clerk/astro/server'; export const GET: APIRoute = ({ request }) => { const requestState = await clerkClient.authenticateRequest(request, { acceptsToken: 'api_key', }); if (!requestState.isAuthenticated) { return new Response(401, { message: 'Unauthorized' }); } return new Response(JSON.stringify(requestState.toAuth())); };The
svixdependency is no longer needed when using theverifyWebhook()function.verifyWebhook()was refactored to not rely onsvixanymore while keeping the same functionality and behavior.If you previously installed
svixto useverifyWebhook()you can uninstall it now:npm uninstall svix
Patch Changes
In this release the TypeScript types for
rootAuthLoader(),getAuth(), and<ClerkProvider>were adjusted but should still work as before. Previously, these types relied on internal, unstable React Router types that changed in their recent 7.6.1 release. We simplified our TypeScript types and no longer rely on internal exports from React Router.
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.