CVE-2025-41258 PUBLISHED

LibreChat RAG API Authentication Bypass

Assigner: sba-research
Reserved: 16.04.2025 Published: 18.03.2026 Updated: 18.03.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 8

Product Status

Vendor danny-avila
Product LibreChat
Versions Default: unknown
  • Version 0.8.1-rc2 is affected

Credits

  • Lisa Gnedt (SBA Research) finder
  • Michael Koppmann (SBA Research) finder

References

Problem Types

  • CWE-284 Improper Access Control CWE