Read the docs

Race condition in LibreChat balance auto-refill allows repeated credits

Priority MEDIUM 45CWE-362Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00335 19th percentileScored 2026-11-30
Fix Fixed LibreChat (LibreChat): 0.8.9

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

VendorProductAffected versionsFixed inStatusSource
danny-avilaLibreChat0.7.8 to before 0.8.90.8.9Patch availableCNA
  • 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

  1. 2026-11-26 Threatist record created from CVE-2026-137656
  2. 2026-11-27 Alias added: GHSA-hhvj-mg8c-m2g8
  3. 2026-11-30 CISA SSVC decision points changed

References

  • 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
See all 54 →

Sources