CVE-2026-137656: LibreChat Race Condition
Published 2026-11-26 · Updated 2026-12-04 · Source disclosure@vulncheck.com
Not known to be exploited · low severity — update LibreChat to 0.8.9 or later when convenient.
What to do
- Update LibreChat to version 0.8.9 or later. Versions from 0.7.8 up to, but not including, 0.8.9 are affected.
- Until it is patched, restrict network access to LibreChat and review which accounts can log in to it.
- Limit who can run concurrent operations against the affected component.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| LibreChat | ≥ 0.7.8, < 0.8.9 | 0.8.9 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker needs an ordinary low-privileged account, and no action by a victim is required. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact is limited: integrity is rated low.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | High | Success depends on conditions outside the attacker's control. |
| Privileges required | Low | The attacker needs an ordinary low-privileged account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | Low | Partial loss of integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Weakness: Race Condition
Two operations that should not overlap can be timed to interfere, leaving the software in an inconsistent or exploitable state.
Classified as CWE-362.
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/LibreChat-AI/LibreChat/commit/0fea0240d65225f4837122d12f6d364d6964b10f
- Patchhttps://github.com/LibreChat-AI/LibreChat/commit/696bcb6c1e29b537e7aa27ad35ea4cddd43b176c
- Patchhttps://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.9
- Advisoryhttps://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-32pj-j526-963j
- Advisoryhttps://www.vulncheck.com/advisories/librechat-0.7.8-before-0.8.9-race-condition-in-balance-auto-refill
- Advisoryhttps://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-32pj-j526-963j
- Referencehttps://github.com/LibreChat-AI/LibreChat/blob/v0.8.8-rc2/packages/api/src/middleware/checkBalance.ts#L113-L140
- Referencehttps://github.com/LibreChat-AI/LibreChat/blob/v0.8.8-rc2/packages/data-schemas/src/methods/transaction.ts#L242-L246