LibreChat 0.7.8 before 0.8.9 Race Condition in Balance Auto-Refill
CVE-2026-137656Published 26 Nov 2026, 20:02 UTC
Real-world risk
0.3/ 10Low
Routine
If the vulnerable configuration applies to you: 0.8
PreliminaryFrom the CVSS vector only · confidence low
CVSS
2.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| LibreChatNiche | >= 0.7.8, < 0.8.9 | 0.8.9 |
What to do
Update to a fixed version: 0.8.9.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.5% chance of exploitation in 30 days (percentile 43), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.122
- Threat T3: Public proof of concept0.950
- 10 × impact 0.3 × prerequisites 0.1215 × threat 0.950.346
- Rounded to one decimal between 0.1 and 100.3
Exploitation and evidence timeline
- 26 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 0.3 (cvss fallback)
Weakness
CWE-362
References
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-32pj-j526-963jexploit, vendor-advisory
- https://github.com/LibreChat-AI/LibreChat/commit/696bcb6c1e29b537e7aa27ad35ea4cddd43b176cpatch
- https://github.com/LibreChat-AI/LibreChat/commit/0fea0240d65225f4837122d12f6d364d6964b10fpatch
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.9release-notes
- https://github.com/LibreChat-AI/LibreChat/blob/v0.8.8-rc2/packages/api/src/middleware/checkBalance.ts#L113-L140technical-description
- https://github.com/LibreChat-AI/LibreChat/blob/v0.8.8-rc2/packages/data-schemas/src/methods/transaction.ts#L242-L246technical-description
- https://www.vulncheck.com/advisories/librechat-0.7.8-before-0.8.9-race-condition-in-balance-auto-refillthird-party-advisory
- CVE-2026-137656 on CVE.org