Skip to main content
VulnerabilityPublished

CVE-2025-41258: danny-avila LibreChat · Improper Access Control

Affects danny-avila LibreChatSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.0 High.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
8.0High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
danny-avilaLibreChatAffected
  • =0.8.1-rc2
Fixed in–
GitHubdanny-avila/LibreChatpkg:github/danny-avila/LibreChatOther threatsAffected
  • =0.8.1-rc2
Fixed in–
GitHubLibreChatpkg:github/LibreChatOther threatsAffected
  • =0.8.1-rc2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2025-41258, organizations should immediately update their LibreChat deployment to a version where this vulnerability is fixed or apply a custom patch that separates JWT secrets for user sessions and the RAG API. This separation ensures that compromise of one token type does not affect the other authentication domain. Additionally, implement strict access control policies on the RAG API, including network segmentation and IP whitelisting where possible. Employ monitoring and logging of JWT usage and API access patterns to detect anomalous activity. Use short-lived JWT tokens and rotate secrets regularly to limit the window of exploitation. If upgrading is not immediately possible, consider disabling or restricting access to the RAG API until a fix is applied. Finally, conduct a thorough security review of authentication mechanisms to prevent similar secret reuse issues.

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.

References

Community reviews

Loading reviews…