CVE-2025-8850 Insecure API Design in danny-avila/librechat
HighCVSS 8.8
EPSS 0.42%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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 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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| danny-avila/librechat | < v0.8.0-rc2 | v0.8.0-rc2 | Fixed |
| LibreChat | = 0.7.9 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| danny-avila/librechat | < v0.8.0-rc2 | v0.8.0-rc2 |
| LibreChat | = 0.7.9 | No fix listed |
References
- huntr.com exploit patch third-party-advisory
- github.com patch