Auth bypass in Danny-Avila Librechat
CVE-2025-69220
LibreChat is a ChatGPT clone with additional features. Version 0.8.1-rc2 does not enforce proper access control for file uploads to an agents file context and file search. An authenticated attacker with access to the agent ID can change the behavior of arbitrary agents by uploading new files to the file context or file search, even if they have no permissions for this agent. This issue is fixed in version 0.8.2-rc2.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:L.
EPSS exploit prediction
EPSS 0.003, 27.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Danny-Avila Librechat — versions >= 0.8.1-rc2, < 0.8.2-rc2
- Librechat — versions 0.8.1
Weakness classification (CWE)
References
- https://github.com/danny-avila/LibreChat/security/advisories/GHSA-xcmf-rpmh-hg59 (Exploit, Vendor Advisory)
- https://github.com/danny-avila/LibreChat/commit/4b9c6ab1cb9de626736de700c7981f38be08d237 (Patch)
- https://cwe.mitre.org/data/definitions/284.html (Not Applicable)
- https://cwe.mitre.org/data/definitions/862.html (Not Applicable)
- https://github.com/danny-avila/LibreChat/releases/tag/v0.8.2-rc2 (Release Notes)
- https://owasp.org/Top10/A01_2021-Broken_Access_Control (Not Applicable)
- https://owasp.org/www-project-web-security-testing-guide/v42/4-Web_Application_Security_Testing/05-Authorization_Testing/02-Testing_for_Bypassing_Authorization_Schema.html (Technical Description)
- https://raw.githubusercontent.com/OWASP/ASVS/v5.0.0/5.0/OWASP_Application_Security_Verification_Standard_5.0.0_en.pdf (Technical Description)