CVE-2024-10366
IDOR in delete attachments in danny-avila/librechat
Description
An improper access control vulnerability (IDOR) exists in the delete attachments functionality of danny-avila/librechat version v0.7.5-rc2. The endpoint does not verify whether the provided attachment ID belongs to the current user, allowing any authenticated user to delete attachments of other users.
INFO
Published Date :
March 20, 2025, 10:15 a.m.
Last Modified :
July 15, 2025, 11:15 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.0 | HIGH | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | 
Solution
- Validate attachment ownership before deletion.
- Enforce authorization checks on attachment endpoints.
- Review and strengthen access control mechanisms.
- Update the software to the latest secure version.
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2024-10366.
                                        
| URL | Resource | 
|---|---|
| https://github.com/danny-avila/librechat/commit/a350443661d001ac55787741969a75d94ca14116 | Patch | 
| https://huntr.com/bounties/cde47cf8-dc81-46ab-b472-f7e44a981a7e | Exploit Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2024-10366 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2024-10366
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2024-10366 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2024-10366 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by [email protected]Jul. 15, 2025 Action Type Old Value New Value Added CWE CWE-639 Removed CWE CWE-284 
- 
                            Reanalysis by [email protected]Jul. 14, 2025 Action Type Old Value New Value Added CWE CWE-639 
- 
                            Initial Analysis by [email protected]Jul. 14, 2025 Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N Added CPE Configuration OR *cpe:2.3:a:librechat:librechat:0.7.5:rc2:*:*:*:*:*:* Added Reference Type huntr.dev: https://github.com/danny-avila/librechat/commit/a350443661d001ac55787741969a75d94ca14116 Types: Patch Added Reference Type huntr.dev: https://huntr.com/bounties/cde47cf8-dc81-46ab-b472-f7e44a981a7e Types: Exploit, Third Party Advisory 
- 
                            New CVE Received by [email protected]Mar. 20, 2025 Action Type Old Value New Value Added Description An improper access control vulnerability (IDOR) exists in the delete attachments functionality of danny-avila/librechat version v0.7.5-rc2. The endpoint does not verify whether the provided attachment ID belongs to the current user, allowing any authenticated user to delete attachments of other users. Added CVSS V3 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L Added CWE CWE-284 Added Reference https://github.com/danny-avila/librechat/commit/a350443661d001ac55787741969a75d94ca14116 Added Reference https://huntr.com/bounties/cde47cf8-dc81-46ab-b472-f7e44a981a7e 
 
                         
                         
                         
                                             
                                            