CVE-2025-7106
mediumpriority · track · 21EPSS 0.003 · 20 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-7106cnnvd
- https://github.com/danny-avila/LibreChat/releasesPatchcnnvd
- https://github.com/danny-avila/librechat/commit/91a2df47599c09d80886bfc28e0ccf1debd42110cnnvd
- https://huntr.com/bounties/7de2765b-d1fe-4495-9144-220070857c48cnnvd
- https://github.com/danny-avila/librechat/commit/91a2df47599c09d80886bfc28e0ccf1debd42110enisa_euvd
- https://huntr.com/bounties/7de2765b-d1fe-4495-9144-220070857c48enisa_euvd
- https://github.com/danny-avila/librechat/commit/91a2df47599c09d80886bfc28e0ccf1debd42110Patchnvd
- https://huntr.com/bounties/7de2765b-d1fe-4495-9144-220070857c48PatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan