{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.7.8"
                  },
                  {
                    "fixed": "0.8.9"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "696bcb6c1e29b537e7aa27ad35ea4cddd43b176c"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "0fea0240d65225f4837122d12f6d364d6964b10f"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v0.8.9",
                "range": [
                  {
                    "fixed": "d4e85d2205c78413ee27d631d7e3b7313556f21d"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "f7777a2723e8e51f3ff464d4e672db46905964a5"
            },
            {
              "fixed": "d4e85d2205c78413ee27d631d7e3b7313556f21d"
            },
            {
              "fixed": "696bcb6c1e29b537e7aa27ad35ea4cddd43b176c"
            },
            {
              "fixed": "0fea0240d65225f4837122d12f6d364d6964b10f"
            }
          ],
          "repo": "https://github.com/librechat-ai/librechat",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-32pj-j526-963j"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-362"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137656.json"
  },
  "details": "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.",
  "id": "CVE-2026-137656",
  "modified": "2026-11-26T22:46:04.233196945Z",
  "published": "2026-11-26T20:02:28.645Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137656.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/LibreChat-AI/LibreChat"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/LibreChat-AI/LibreChat/blob/v0.8.8-rc2/packages/api/src/middleware/checkBalance.ts#L113-L140"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/LibreChat-AI/LibreChat/blob/v0.8.8-rc2/packages/data-schemas/src/methods/transaction.ts#L242-L246"
    },
    {
      "type": "FIX",
      "url": "https://github.com/LibreChat-AI/LibreChat/commit/0fea0240d65225f4837122d12f6d364d6964b10f"
    },
    {
      "type": "FIX",
      "url": "https://github.com/LibreChat-AI/LibreChat/commit/696bcb6c1e29b537e7aa27ad35ea4cddd43b176c"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.9"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-32pj-j526-963j"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-137656"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/librechat-0.7.8-before-0.8.9-race-condition-in-balance-auto-refill"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "LibreChat 0.7.8 before 0.8.9 Race Condition in Balance Auto-Refill"
}