Skip to content
MediumVulnerability

CVE-2025-7106: danny-avila/librechat authorization bypass in checkAccess permission validation

Identifier
CVE-2025-7106
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

danny-avila/librechat contains an authorization bypass caused by improper access control checks. The checkAccess function in api/server/middleware/roles/access.js uses permissions.some(), so it grants access when only one of several required permissions is present, letting users with the 'USER' role create agents despite CREATE: false, since the check for ['USE', 'CREATE'] passes with only USE: true. Other permission checks, such as PROMPTS, are also affected, and all versions before the fix are vulnerable.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.