LibreChatにおける重要な機能に対する認証の欠如に関する脆弱性
| Title |
LibreChatにおける重要な機能に対する認証の欠如に関する脆弱性
|
| Summary |
LibreChatは複数のAIプロバイダーに対応した強化版ChatGPTクローンです。バージョン0.8.4-rc1より前では、2FAがアカウントに完全に有効になっている場合でも、認証済みユーザー(または盗まれたセッションを持つ攻撃者)がGET /api/auth/2fa/enableエンドポイントを呼び出すことが可能でした。このエンドポイントは既存のTOTPシークレットを上書きし、新しいバックアップコードを生成し、twoFactorEnabledをfalseに設定しますが、TOTPまたはバックアップコードの検証を一切要求しません。攻撃者は有効なセッショントークンを持っているだけで被害者の2FAを完全に乗っ取り、正当なユーザーを二要素認証から締め出してしまいます。この脆弱性は0.8.4-rc1で修正されました。
|
| Possible impacts |
・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| Solution |
ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
June 25, 2026, midnight |
| Registration Date |
June 29, 2026, 11:12 a.m. |
| Last Update |
June 29, 2026, 11:12 a.m. |
|
CVSS3.0 : 重要
|
| Score |
8.1
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
Affected System
| LibreChat |
|
LibreChat 0.8.3 およびそれ以前
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年06月29日] 掲載 |
June 29, 2026, 11:12 a.m. |
NVD Vulnerability Information
CVE-2026-54036
| Summary |
LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.4-rc1, the GET /api/auth/2fa/enable endpoint can be called by an authenticated user (or attacker with a stolen session) even when 2FA is already fully enabled on the account. This endpoint overwrites the existing TOTP secret, generates new backup codes, and sets twoFactorEnabled to false — all without requiring any TOTP or backup code verification. An attacker with a valid session token can completely take over a victim's 2FA, locking the legitimate user out of their own two-factor authentication. This vulnerability is fixed in 0.8.4-rc1.
|
| Publication Date |
June 26, 2026, 1:16 a.m. |
| Registration Date |
June 27, 2026, 4:29 a.m. |
| Last Update |
June 27, 2026, 4:02 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:librechat:librechat:*:*:*:*:*:*:*:* |
|
0.8.3 |
|
|
Related information, measures and tools
Common Vulnerabilities List