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.
{
"cna_assigner": "@huntr_ai",
"cwe_ids": [
"CWE-639"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10366.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.7.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "SplitRange"
},
{
"range": [
{
"fixed": "a350443661d001ac55787741969a75d94ca14116"
}
],
"source": "REFERENCES_COMMIT"
}
]
}