@clerk/backend
3.29.0 · 14 Nov 2026MIT8.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/backend From 3.0.0 to 3.2.14
15 releases in betweenevery note read
Before you upgrade
Tick each one off as you go- Breaking3.0.2
Security
Fixes 2 advisories affecting 3.0.0
- Clerk: SSRF in the opt-in clerkFrontendApiProxy feature may leak secret keys to unintended hosthigh · GHSA-gjxx-92w9-8v8f
- Clerk has an authorization bypass when combining organization, billing, or reverification checkshigh · GHSA-w24r-5266-9c3c
- 3.2.13
Add path traversal protections in
joinPaths
Release by release
- Fixed
A clock skew of 0 will not fall back to the default value anymore.
- Fixed
- Security
Add path traversal protections in
joinPaths
- Security
- New
Introduce
samlConnectionandoauthConfiginto theEnterpriseConnectionresource. - Fixed
The JWT claims are verified after the signature to avoid leaking information through error messages on forged tokens.
- New
3.2.8 – 3.2.114 releases, nothing new or fixed in the notes
- Fixed
Fix POST requests with
sec-fetch-dest: documentincorrectly triggering handshake redirects, resulting in 405 errors from FAPI. Non-GET requests (e.g. native form submissions) are now excluded from handshake and multi-domain sync eligibility.
- Fixed
- New
Add EnterpriseAccount and EnterpriseAccountConnection classes to @clerk/backend, restoring enterprise SSO account data on the User object that was lost when samlAccounts was removed in v3.
- Fixed
Fix frontend API proxy following redirects server-side instead of passing them to the browser. The proxy's
fetch()call now usesredirect: 'manual'so that 3xx responses from FAPI (e.g. after OAuth callbacks) are returned to the client as-is, matching standard HTTP proxy behavior. - Fixed
Improve the built-in Clerk Frontend API proxy, adding support for abort signals and addressing a number of small edge cases.
- New
- Fixed
Fix
ERR_CONTENT_DECODING_FAILEDwhen loading proxied assets by requesting uncompressed responses from FAPI and strippingContent-Encoding/Content-Lengthheaders thatfetch()invalidates through auto-decompression. - Fixed
Fix
satelliteAutoSyncto default tofalseas documented. Previously, not passing the prop resulted inundefined, which was treated astruedue to a strict equality check (=== false). This preserved Core 2 auto-sync behavior instead of the intended Core 3 default. The check is now!== true, so bothundefinedandfalseskip automatic satellite sync. - Fixed
Fix an issue where multiple
set-cookieheaders were being dropped by the frontend API proxy.
- Fixed
3.2.1 – 3.2.22 releases, nothing new or fixed in the notes
11 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.