Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.7.15

1 Nov 2026Where it was published

1.7.27 is the newest release of 1.x.

In short

8 fixed

Release note

The section about better-auth of a note shared by several packages.

better-auth

Bug Fixes

  • Security

    Fixed organization and API key metadata, and OAuth proxy sign-ins with a constructor field in additionalData, failing with a prototype pollution error

  • Improved BETTER_AUTH_SECRETS error messages to report the entry position instead of including the entry value

  • Fixed the admin update-user endpoint to reject data.id with a 400 error instead of attempting to change the user's primary key

  • Fixed the admin plugin to reject banned users when a session is created outside an endpoint, such as through internalAdapter.createSession

  • Fixed headers and cookies set by a non-returning hooks.before hook being dropped from the response, with the endpoint's value winning when both set the same header or cookie

  • Fixed the Vue client's useSession(useFetch) returning no session during Nuxt SSR when baseURL is inferred from the environment

  • Fixed the genericOAuth HubSpot helper truncating access tokens with reserved characters and now returning null instead of requesting /access-tokens/undefined when no token is present

  • Fixed /sign-in/username and /is-username-available rejecting usernames that sign-up accepts when validationOrder.username is post-normalization

For detailed changes, see CHANGELOG

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.