CVE Explorer
CVE-2025-7106
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 vulne
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"danny-avila/librechat","vendor":"danny-avila","versions":[{"lessThan":"v0.7.9","status":"affected","version":"unspecified","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:2fc2a4209118da3dc732ba80c1af0820bb33c2915affdc83992f797cb391f0d1 · sha256:736eeec81bcd3229… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.0"},"metric_type":"cvssV3_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:2fc2a4209118da3dc732ba80c1af0820bb33c2915affdc83992f797cb391f0d1 · sha256:736eeec81bcd3229… · /containers/cna/metrics/0/cvssV3_0
CWE assertions
1 source assertion{"cweId":"CWE-284","description":"CWE-284 Improper Access Control","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2fc2a4209118da3dc732ba80c1af0820bb33c2915affdc83992f797cb391f0d1 · sha256:736eeec81bcd3229… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"url":"https://github.com/danny-avila/librechat/commit/91a2df47599c09d80886bfc28e0ccf1debd42110"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2fc2a4209118da3dc732ba80c1af0820bb33c2915affdc83992f797cb391f0d1 · sha256:736eeec81bcd3229… · /containers/cna/references/1
{"url":"https://huntr.com/bounties/7de2765b-d1fe-4495-9144-220070857c48"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2fc2a4209118da3dc732ba80c1af0820bb33c2915affdc83992f797cb391f0d1 · sha256:736eeec81bcd3229… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.