{"id":"CVE-2025-8850","sourceIdentifier":"security@huntr.dev","published":"2025-10-30T20:15:39.633","lastModified":"2026-10-07T21:10:00.200","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"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."}],"affected":[{"source":"security@huntr.dev","affectedData":[{"vendor":"danny-avila","product":"danny-avila/librechat","versions":[{"version":"unspecified","lessThan":"v0.8.0-rc2","versionType":"custom","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}],"cvssMetricV30":[{"source":"security@huntr.dev","type":"Secondary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","baseScore":3.1,"baseSeverity":"LOW","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":1.6,"impactScore":1.4}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-11-05T14:57:10.072224Z","id":"CVE-2025-8850","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security@huntr.dev","type":"Secondary","description":[{"lang":"en","value":"CWE-440"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:librechat:librechat:0.7.9:-:*:*:*:*:*:*","matchCriteriaId":"74A99A2E-023B-4C39-9696-61DA01C9284E"}]}]}],"references":[{"url":"https://github.com/danny-avila/librechat/commit/7e4c8a5d0d2dbe5bf8fd272ff6acafb27d24744f","source":"security@huntr.dev","tags":["Patch"]},{"url":"https://huntr.com/bounties/8e615709-f4de-41e2-b194-f0d91ed7c75e","source":"security@huntr.dev","tags":["Exploit","Patch","Third Party Advisory"]}]}