Better Auth has insecure cryptographic defaults in oidcProvider: alg=none advertised and plain PKCE accepted by default

Date Jul 7, 2026
Type Vendor advisory
Signal High-risk advisory
Vendor / Product npm · better-auth
High-risk advisory

Summary

Better Auth has insecure cryptographic defaults in oidcProvider: alg=none advertised and plain PKCE accepted by default

Why it matters

GitHub has published a reviewed security advisory for better-auth. Prioritize it with other application dependency updates.

Operator check

Check whether better-auth is present in application dependency manifests, lockfiles, or build images. Review the GitHub advisory and upgrade to a patched version where available.

Sources

PatchBrief uses public sources. It does not scan environments, verify exposure, or replace vendor guidance.