Skip to content
High 8.6

@better-auth/electronに認証シークレットが漏えいする脆弱性

CVE-2026-134316 First seen on SecPulse

Summary

@better-auth/electronの一部版には、認証シークレットやソーシャルログインのクライアントシークレットが、サインイン時の応答に含まれて漏えいする脆弱性があります。認証済みの利用者がこれらを取得すると、ほかの利用者になりすましたセッションを偽造できるおそれがあります。対象は1.8.0-beta.0以降1.8.0-beta.5未満で、修正版の1.8.0-beta.5への更新が必要です。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

@better-auth/electronの一部版には、認証シークレットやソーシャルログインのクライアントシークレットが、サインイン時の応答に含まれて漏えいする脆弱性があります。認証済みの利用者がこれらを取得すると、ほかの利用者になりすましたセッションを偽造できるおそれがあります。対象は1.8.0-beta.0以降1.8.0-beta.5未満で、修正版の1.8.0-beta.5への更新が必要です。

Affected packages

PackageAffected → Fixed
better-authelectron
≥ 1.8.0-beta.0, < 1.8.0-beta.5→ 1.8.0-beta.5
Original description The description as published by the source.

@better-auth/electron 1.5.0-beta.12 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 accepts any validly signed value as its transfer cookie and returns the full endpoint context, including the auth secret and social provider client secrets, in sign-in responses. Authenticated users can obtain these secrets to forge sessions as other users. Attackers knowing a password can exchange desktop authorization codes issued before two-factor verification to bypass the second factor.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details