# CVE-2026-54045: LibreChat: Password Reset Can Wipe Email-Verification Tokens When Verification Is Enforced

Status: published. Published: 2026-11-20. Updated: 2026-11-24.

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.7, POST /api/auth/requestPasswordReset calls deleteTokens by user ID before creating a reset token, while password-reset and email-verification records in packages/data-schemas/src/methods/token.ts have no populated flow type. When password reset is enabled and email verification is enforced, an unauthenticated attacker who knows a target email can repeatedly delete pending verification tokens and prevent account verification until the unverified account expires. This issue is fixed in version 0.8.7.

## Remediation

- fix: LibreChat (other): GitHub reports patched versions 0.8.7. Check the advisory for the affected release branch. (source: GitHub GHSA-7977-cfgx-23mw) — https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-7977-cfgx-23mw

## Affected products and versions

- LibreChat-AI / LibreChat: < 0.8.7 (affected). Source: CNA: GitHub_M
-  / LibreChat (LibreChat): < 0.8.7-rc1, < 0.8.7 (affected, GitHub advisory range). Source: GitHub GHSA-7977-cfgx-23mw

## Severity and prioritization

- CVSS 3.1: 6.5 (medium); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L; source: CNA: GitHub_M

- CVSS 3.1: 6.5 (medium); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: 0.51% as of 2026-11-23; percentile 44.11%

- SSVC: exploitation poc; automatable yes; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-640

## Exploit evidence

- exploit: https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-7977-cfgx-23mw (ADP: CISA-ADP)

## References

- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-7977-cfgx-23mw (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/LibreChat-AI/LibreChat/pull/13556 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/LibreChat-AI/LibreChat/commit/3571dfcf22282f6be5ff6ef70e2a498c8cd366de (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.7 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-7977-cfgx-23mw (ADP: CISA-ADP; exploit)

- https://github.com/LibreChat-AI/LibreChat/commit/3571dfcf22282f6be5ff6ef70e2a498c8cd366de (security-advisories@github.com)

- https://github.com/LibreChat-AI/LibreChat/pull/13556 (security-advisories@github.com)

- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.7 (security-advisories@github.com)

- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-7977-cfgx-23mw (security-advisories@github.com)

- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-7977-cfgx-23mw (134c704f-9b21-4f2e-91b3-4a467353bcc0)

- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-7977-cfgx-23mw (GitHub Security Advisories; advisory)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-54045; retrieved 2026-11-23; source updated 2026-11-23

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-54045; retrieved 2026-11-24; source updated 2026-11-24

- GitHub Security Advisories: https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-7977-cfgx-23mw; retrieved 2026-11-23; source updated 2026-11-17

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-54045; retrieved 2026-11-23; source updated Not reported

Revision: 8b78e352c0e6c8ad96824e073750eabfdf4fa22c77486aa90367a2efdc1e442c

Canonical: https://y2.dev/cve/CVE-2026-54045

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.