{"id":"CVE-2025-8850","aliases":["CVE-2025-8850"],"related":[],"kind":"vulnerability","state":"published","title":"Insecure API Design in danny-avila/librechat","summary":"In danny-avila/librechat version 0.7.9, there is an insecure API design issue in the 2-Factor Authentication (2FA) flow. The system allows users to disable 2FA without requiring a valid OTP or backup code, bypassing the intended verification process. This vulnerability occurs because the backend does not properly validate the OTP or backup code when the API endpoint '/api/auth/2fa/disable' is directly accessed. This flaw can be exploited by authenticated users to weaken the security of their own accounts, although it does not lead to full account compromise.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In danny-avila/librechat version 0.7.9, there is an insecure API design issue in the 2-Factor Authentication (2FA) flow. The system allows users to disable 2FA without requiring a valid OTP or backup code, bypassing the intended verification process. This vulnerability occurs because the backend does not properly validate the OTP or backup code when the API endpoint '/api/auth/2fa/disable' is directly accessed. This flaw can be exploited by authenticated users to weaken the security of their own accounts, although it does not lead to full account compromise.","source":"cvelist"},{"lang":"es","text":"En la versión 0.7.9 de danny-avila/librechat, existe un problema de diseño de API inseguro en el flujo de autenticación de dos factores (2FA). El sistema permite a los usuarios deshabilitar la 2FA sin requerir un código OTP o de respaldo válido, eludiendo el proceso de verificación previsto. Esta vulnerabilidad ocurre porque el backend no valida correctamente el código OTP o de respaldo cuando se accede directamente al endpoint de la API '/api/auth/2fa/disable'. Esta falla puede ser explotada por usuarios autenticados para debilitar la seguridad de sus propias cuentas, aunque no conduce a un compromiso total de la cuenta.","source":"nvd"}],"published":"2025-10-30T19:59:36.327Z","modified":"2026-10-07T21:10:00.200Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.1,"rating":"LOW"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.1,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-440"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"v0.8.0-rc2","status":"affected"}],"vendor":"danny-avila","product":"danny-avila/librechat","source":"cvelist"},{"ranges":[{"status":"affected","version":"0.7.9"}],"vendor":"librechat","product":"librechat","cpe":"cpe:2.3:a:librechat:librechat:0.7.9:-:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.com/bounties/8e615709-f4de-41e2-b194-f0d91ed7c75e","tags":["exploit","patch","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/danny-avila/librechat/commit/7e4c8a5d0d2dbe5bf8fd272ff6acafb27d24744f","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-11-05T14:57:10.072Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-8850","url":"https://www.cve.org/CVERecord?id=CVE-2025-8850","licence":"CVE Terms of Use","modified":"2025-11-05T14:57:26.783Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-8850","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8850","licence":"Public domain","modified":"2026-10-07T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:07.063Z","epss":{"score":0.00664,"percentile":0.46716,"date":"2026-11-30T12:00:22.000Z"}}