CVE-2025-7106
Last modified
CVE-2025-7106 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Librechat | Librechat | < 0.7.9 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-7106?
How severe is CVE-2025-7106?
How do I fix CVE-2025-7106?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-71031Water-Melon Melon commit 9df9292 and below is vulnerable to …7.5
- CVE-2025-7104A mass assignment vulnerability exists in danny-avila/librec…7.5
- CVE-2025-7105A vulnerability in danny-avila/librechat allows attackers to…5.7
- CVE-2025-71056Improper session management in GCOM EPON 1GE ONU version C00…8.1
- CVE-2025-71057Improper session management in D-Link Wireless N 300 ADSL2+ …8.2
- CVE-2025-71058Dual DHCP DNS Server 8.01 improperly accepts and caches UDP …9.1
- CVE-2025-71063Errands before 46.2.10 does not verify TLS certificates for …7.5
- CVE-2025-71064In the Linux kernel, the following vulnerability has been re…
- CVE-2025-71065In the Linux kernel, the following vulnerability has been re…
- CVE-2025-71066In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-71067In the Linux kernel, the following vulnerability has been re…
- CVE-2025-71068In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2025-7106?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
