High

@better-auth/electron leaks auth secrets via weak cookie check

Authenticated users can pull the auth secret and social provider client secrets from sign-in responses and forge sessions as other users. An attacker who knows a password can also trade desktop authorization codes issued before two-factor verification to bypass the second factor.

Fixed in
1.7.16
Source
Get the fix in Telegram

Am I affected?

You are affected if the installed version is older than 1.7.16. Check the version you have and update to 1.7.16 or later. The fixed version is verified against a vendor or advisory source.

Get the fix

FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 4272 and your operating system.