CVE-2026-137656
LibreChat concurrent requests could multiply one credit refill
LibreChat · LibreChat balance auto-refill
First documented disclosure · Review checkpoint
Summary
Concurrent requests could each add a refill for the same eligibility window.
Severity and exploitation evidence
Low · 2.3/10 · CVSS 4.0. Severity source.
Exploitation not established: Public original reports and static source review establish the weakness or reported demonstrations. Malicious exploitation against users is not established; this review executed no exploit or package.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
The balance compare-and-swap checked credits but omitted lastRefill, allowing retries to apply duplicate refills.
Conditions required
A signed-in user has auto-refill enabled, a due interval and concurrent chat requests.
Potential impact
Inflated model-use credits; the practical cost depends on how the deployment maps credits to spending.
Affected versions and configurations
CNA: 0.7.8 through versions before 0.8.9; original report tested0.8.8-rc2.
Fix and mitigation status
0.8.9 fences refill writes on lastRefill, balances, reservations and policy values; GitHub marks it as a prerelease.
Practical next steps
Deploy a validated corrected build and audit unexpected refill events or excessive credit grants.
Operating lesson
Guard the eligibility window and the balance in the same atomic update.
Evidence and limits
PR 15879 merged September 13 at 16:53:19Z and explicitly describes the duplicate-refill gap; PR 16781 adds later policy handling. GHSA November 17 and CNA November 26 do not reset the date. Tagged applyAutoRefill contains the conditional write. Maintainer CVSS 3.1 Medium 5.3 differs from CNA CVSS 4.0 Low 2.3 and 3.1 Low 3.1; the CNA 4.0 rating is displayed. No monetary loss or malicious use is established.
Sources
- Maintainer advisory
Primary source ·
- Earlier public atomic-refill correction
Primary source ·
- Later refill-policy correction
Primary source ·
- 0.8.9 prerelease
Primary source ·
- Tagged conditional refill write
Primary source ·
- VulnCheck CVE authority record
Primary source ·