Packages

@clerk/express

2.1.90 · 14 Nov 2026MIT591.3k / weekRepositoryHomepagenpmAtom feed

Your version

2.1.25

10 Jun 2026Where it was published

2.1.97 is the newest release of 2.x.

In short

1 fixed2 internal

Release note

Patch Changes

  • Fix an authentication bypass where a req.auth value set by another library (such as express-jwt, Passport, or express-openid-connect) caused clerkMiddleware() and requireAuth() to silently skip Clerk authentication, and getAuth() to return the unverified foreign value. Clerk now brands the req.auth handler it installs and only trusts that handler: clerkMiddleware() authenticates the request and overwrites a foreign req.auth (logging a warning when it does), and getAuth() throws its "middleware required" error instead of reading foreign data.

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.