GHSA-hhvj-mg8c-m2g8LowCVSS 3.1
LibreChat 0.7.8 before 0.8.9 contains a race condition vulnerability in checkBalance that allows...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (9)
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-32pj-j526-963j
- https://nvd.nist.gov/vuln/detail/CVE-2026-137656
- https://github.com/LibreChat-AI/LibreChat/commit/0fea0240d65225f4837122d12f6d364d6964b10f
- https://github.com/LibreChat-AI/LibreChat/commit/696bcb6c1e29b537e7aa27ad35ea4cddd43b176c
- https://github.com/LibreChat-AI/LibreChat/blob/v0.8.8-rc2/packages/api/src/middleware/checkBalance.ts#L113-L140
- https://github.com/LibreChat-AI/LibreChat/blob/v0.8.8-rc2/packages/data-schemas/src/methods/transaction.ts#L242-L246
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.9
- https://www.vulncheck.com/advisories/librechat-0.7.8-before-0.8.9-race-condition-in-balance-auto-refill
- https://github.com/advisories/GHSA-hhvj-mg8c-m2g8