{"id":"CVE-2024-10366","summary":"IDOR in delete attachments in danny-avila/librechat","details":"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.","modified":"2026-10-28T02:30:55.336642542Z","published":"2025-03-20T10:09:37.556Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10366.json","cna_assigner":"@huntr_ai","cwe_ids":["CWE-639"]},"references":[{"type":"WEB","url":"https://huntr.com/bounties/cde47cf8-dc81-46ab-b472-f7e44a981a7e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10366.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10366"},{"type":"FIX","url":"https://github.com/danny-avila/librechat/commit/a350443661d001ac55787741969a75d94ca14116"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/LibreChat-AI/LibreChat","events":[{"introduced":"0"},{"fixed":"600d21780bfced4d2146ab556fa4de0dcaef55ce"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"0.7.5"}],"source":"AFFECTED_FIELD","strategy":"SplitRange"},{"range":[{"fixed":"a350443661d001ac55787741969a75d94ca14116"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["0.7.5-rc2","v0.7.5-rc2","v0.7.5-rc1","v0.7.4","v0.7.4-rc1","v0.7.3","v0.7.3-rc2","v0.7.3-rc","v0.7.2","v0.7.1","v0.7.0","v0.6.10","v0.6.9","v0.6.6","v0.6.5","v0.6.1","v0.6.0","v0.5.9","v0.5.8","v0.5.7","v0.5.6","v0.5.5","v0.5.4","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.8","v0.4.7","v0.4.6","v0.4.5","v0.4.4","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.3.3","v0.3.0","v0.2.0","v0.1.1","v0.1.0","v0.0.6","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-10366.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L"}]}