CVE-2026-33265 Details
Description
In LibreChat 0.8.1-rc2, a logged-in user obtains a JWT for both the LibreChat API and the RAG API.
A vulnerability exists in LibreChat version 0.8.1-rc2, where a logged-in user can use a JSON Web Token (JWT) to bypass authentication on the RAG API. This issue arises because both the LibreChat API and RAG API share the same JWT secret for user session management, allowing unauthorized access to RAG API endpoints.
It is recommended to use a separate JWT secret for RAG API authentication and to add audience claims to the JWT tokens, validating them in both LibreChat and RAG API. Additionally, separate environment files for each service in the Docker Compose setup can help manage access to sensitive secrets.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20251205-01_LibreChat_RAG_API_Authentication_Bypass | [email protected] | ExploitThird Party Advisory |
| https://www.openwall.com/lists/oss-security/2026/03/18/3 | [email protected] | ExploitMailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-669 | Incorrect Resource Transfer Between Spheres | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| librechat librechat | 0.8.1 rc2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 24, 2026 | Initial Analysis | [email protected] |
| Mar 18, 2026 | New CVE Received | [email protected] |