# CVE-2025-41258: LibreChat RAG API Authentication Bypass

- Severity: High 8.0 (CVSS:3.1, scored by sba-research) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-18T11:08:19.866Z
- Modified: 2026-06-17T09:22:41.230Z
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: sba-research

## Description

LibreChat version 0.8.1-rc2 uses the same JWT secret for the user session mechanism and RAG API which compromises the service-level authentication of the RAG API.

(As written by CVE List.)

## Affected

- danny-avila LibreChat: 0.8.1-rc2
- librechat librechat: 0.8.1

## References

- <https://github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20251205-01_LibreChat_RAG_API_Authentication_Bypass> (exploit, third-party-advisory)
- <https://github.com/danny-avila/LibreChat> (product)

## Sources

- CVE List: [CVE-2025-41258](https://www.cve.org/CVERecord?id=CVE-2025-41258), CVE Terms of Use, modified 2026-03-18
- NVD: [CVE-2025-41258](https://nvd.nist.gov/vuln/detail/CVE-2025-41258), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-41258 · Whole record: https://cve.day/CVE-2025-41258.json · Rebuilt by cve.day 2026-11-25T22:59:11.952Z
