{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-8850","id":"CVE-2025-8850","title":"Insecure API Design in danny-avila/librechat","description":"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 dire","descriptionLong":"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.","published":"2025-10-30T19:59:36.327Z","updated":"2026-10-28T02:30:32.164273298Z","reserved":"2025-08-10T19:01:03.291Z","status":"Analyzed","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.0","score":3.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"@huntr_ai"},{"version":"3.0","score":3.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"huntr.dev"},{"version":"3.0","score":3.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"OSV"}],"rating":"high","products":["danny-avila/librechat"],"affectedProducts":[{"vendor":"danny-avila","product":"danny-avila/librechat","defaultStatus":null,"versions":[{"version":"unspecified","lessThan":"v0.8.0-rc2","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-440"],"aliases":[],"references":[{"url":"https://huntr.com/bounties/8e615709-f4de-41e2-b194-f0d91ed7c75e","tags":["Exploit","Patch","Third Party Advisory","web"]},{"url":"https://github.com/danny-avila/librechat/commit/7e4c8a5d0d2dbe5bf8fd272ff6acafb27d24744f","tags":["Patch","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8850.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8850","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00417,"epssPercentile":0.36742,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-8850","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8850","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-8850","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-8850","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}