Race condition in LibreChat balance auto-refill allows repeated credits
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
LibreChat from 0.7.8 before 0.8.9 contains a race condition in checkBalance that lets authenticated users obtain multiple auto-refill credits. An attacker sends concurrent chat requests that each pass an unlocked lastRefill check, which bypasses configured token credit limits (CWE-362).
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| danny-avila | LibreChat | 0.7.8 to before 0.8.9 | 0.8.9 | Patch available | CNA |
- LibreChat Vendordanny-avila Affected 0.7.8 to before 0.8.9 Fixed in 0.8.9 Patch available CNA
Remediation
Upgrade LibreChat to version 0.8.9 or later, which is listed as the fixed version. The sources list no fixed version for LibreChat beyond 0.8.9.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA LibreChat (LibreChat) Fixed in 0.8.9
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
LibreChat 0.8.9
2 records Highest priority Priority HIGH 1 HIGH, 1 MEDIUM
Other records, highest priority first
- TI-2026-98812 Improper input type validation in LibreChat LDAP login crashes serverPriority HIGH 77
Timeline
- 2026-11-26 Threatist record created from CVE-2026-137656
- 2026-11-27 Alias added: GHSA-hhvj-mg8c-m2g8
- 2026-11-30 CISA SSVC decision points changed
References
Patch 2
More danny-avila vulnerabilities
- TI-2026-98812 Improper input type validation in LibreChat LDAP login crashes server CVSS 4.0HIGH 8.7
- TI-2026-25134 LibreChat Exfiltrates Server Secrets via MCP Server URL Injection CVSS 3.1CRITICAL 9.6
- TI-2026-17862 LibreChat MCP Stdio Remote Command Execution CVSS 3.1CRITICAL 9.9
- TI-2026-38976 LibreChat: Missing Resource Parameter Validation in MCP OAuth Flow CVSS 3.1CRITICAL 9.3
- TI-2024-27763 LibreChat through 0.7.4-rc1 has incorrect access control for message updates. CVSS 3.1CRITICAL 9.8
- TI-2024-10347 Path Traversal in danny-avila/librechat CVSS 3.0HIGH 8.8
Sources
- CVE-2026-137656 · CVE Program
- CVE-2026-137656 · NVD
- FIRST EPSS
- GHSA-hhvj-mg8c-m2g8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences