Read the docs
TI-2025-06468 Aliases CVE-2025-7106GHSA-4pfh-329g-gqpr

Authorization Bypass due to Incorrect Access Control in danny-avila/librechat

Priority MEDIUM 57CWE-284Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-284.

Summary

danny-avila/librechat is affected by an authorization bypass vulnerability due to improper access control checks. The `checkAccess` function in `api/server/middleware/roles/access.js` uses `permissions.some()` to validate permissions, which incorrectly grants access if only one of multiple required permissions is present. This allows users with the 'USER' role to create agents despite having `CREATE: false` permission, as the check for `['USE', 'CREATE']` passes with just `USE: true`. This vulnerability affects other permission checks as well, such as `PROMPTS`. The issue is present in all versions prior to the fix.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00278 20th percentileScored 2026-11-07
Fix Fixed danny-avila/librechat (danny-avila): v0.7.9

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
danny-aviladanny-avila/librechatbefore v0.7.9v0.7.9Patch availableCNA
  • danny-avila/librechat Vendordanny-avila Affected before v0.7.9 Fixed in v0.7.9 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:librechat:librechat:*:*:*:*:*:*:*:*before 0.7.9Vulnerabledanny-avila
  • cpe:2.3:a:librechat:librechat:*:*:*:*:*:*:*:* Versions before 0.7.9 Vulnerable ·danny-avila

Remediation

  • Fix · CNA danny-avila/librechat (danny-avila) Fixed in v0.7.9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-7106
  2. 2026-10-03 Alias added: GHSA-4pfh-329g-gqpr

References

  • TI-2026-25134 LibreChat Exfiltrates Server Secrets via MCP Server URL Injection CVSS 3.1CRITICAL 9.6
  • TI-2026-17862 LibreChat MCP Stdio Remote Command Execution CVSS 3.1CRITICAL 9.9
  • TI-2026-38976 LibreChat: Missing Resource Parameter Validation in MCP OAuth Flow CVSS 3.1CRITICAL 9.3
  • TI-2024-27763 LibreChat through 0.7.4-rc1 has incorrect access control for message updates. CVSS 3.1CRITICAL 9.8
  • TI-2024-10347 Path Traversal in danny-avila/librechat CVSS 3.0HIGH 8.8
  • TI-2026-25682 In LibreChat 0.8.1-rc2, a logged-in user obtains a JWT for both the LibreChat API and the RAG API. CVSS 3.1CRITICAL 9.0
See all 50 →

Sources