CVE-2025-7106
MEDIUM EPSS 16.9%
Published Sep 23, 20259mo ago · Modified Jun 17, 20262w ago
5.3 CVSS 3.1
Published Sep 23, 2025 9mo ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality None
Integrity Low
Availability None
Threat Intelligence
EPSS Exploit Probability
16.9% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 2
CWE-284
CWE-639
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| librechat | librechat | * | <0.7.9 |
References 2
- github.com https://github.com/danny-avila/librechat/commit/91a2df47599c09d80886bfc28e0ccf1debd42110
- huntr.com https://huntr.com/bounties/7de2765b-d1fe-4495-9144-220070857c48
Remediation
- github.com https://github.com/danny-avila/librechat/commit/91a2df47599c09d80886bfc28e0ccf1debd42110
- huntr.com https://huntr.com/bounties/7de2765b-d1fe-4495-9144-220070857c48