LibreChat 0.7.8 before 0.8.9 Race Condition in Balance Auto-Refill
- State
- Published
- Severity
- 2.3 Low
- Published
- Nov 26, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 26, 2026
Description
LibreChat 0.7.8 before 0.8.9 contains a race condition vulnerability in checkBalance that allows authenticated users to obtain multiple auto-refill credits by sending concurrent requests. Attackers can send simultaneous chat requests that each pass the unlocked lastRefill check, receiving repeated refillAmount credits and bypassing configured token credit limits.
| Product | Versions |
|---|---|
| LibreChat LibreChat | 0.7.8 to before 0.8.9 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 2.3 Low | VulnCheck | |
| 3.1 | 3.1 Low | VulnCheck |
Weaknesses
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
References
- GitHub Security Advisory (GHSA-32pj-j526-963j)Vendor Advisory
- https://github.com/LibreChat-AI/LibreChat/commit/696bcb6c1e29b537e7aa27ad35ea4cddd43b176cPatch
- https://github.com/LibreChat-AI/LibreChat/commit/0fea0240d65225f4837122d12f6d364d6964b10fPatch
- LibreChat v0.8.9 Release NotesRelease Notes
- https://github.com/LibreChat-AI/LibreChat/blob/v0.8.8-rc2/packages/api/src/middleware/checkBalance.ts#L113-L140Technical Details
- https://github.com/LibreChat-AI/LibreChat/blob/v0.8.8-rc2/packages/data-schemas/src/methods/transaction.ts#L242-L246Technical Details
- VulnCheck Advisory: LibreChat 0.7.8 before 0.8.9 Race Condition in Balance Auto-RefillThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.