CVE-2026-137656
LibreChat 0.7.8 before 0.8.9 Race Condition in Balance Auto-Refill
Low · 2.3Fix available
- CVSS
- 2.3
- EPSS
- 0.34% (p19)
- Published
- 2026-11-26
- Age
- 2d old
- Modified
- 2026-11-27
- Product
- LibreChat LibreChat
- Aliases
- GHSA-32pj-j526-963j
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
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.
Fixed in
0.8.9
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | LibreChat | >=0.7.8, <0.8.9 | 0.8.9 |
Sources
- NVD · first seen 2d ago · NVD terms of use
- OSV · first seen 2d ago · CC-BY 4.0
- CVE List · first seen 2d ago · CVE Terms of Use
References
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-32pj-j526-963j vendor-advisory
- https://github.com/LibreChat-AI/LibreChat/commit/696bcb6c1e29b537e7aa27ad35ea4cddd43b176c patch
- https://github.com/LibreChat-AI/LibreChat/commit/0fea0240d65225f4837122d12f6d364d6964b10f patch
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.9 release-notes
- https://github.com/LibreChat-AI/LibreChat/blob/v0.8.8-rc2/packages/api/src/middleware/checkBalance.ts#L113-L140 technical-description
- https://github.com/LibreChat-AI/LibreChat/blob/v0.8.8-rc2/packages/data-schemas/src/methods/transaction.ts#L242-L246 technical-description
- https://www.vulncheck.com/advisories/librechat-0.7.8-before-0.8.9-race-condition-in-balance-auto-refill third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137656.json advisory
- https://github.com/LibreChat-AI/LibreChat package
- https://nvd.nist.gov/vuln/detail/CVE-2026-137656 advisory