{"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-08-12T03:51:29.628153570Z","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/danny-avila/librechat","events":[{"introduced":"020995514e667ec0b7e550e34f6b61fda62c62e6"},{"fixed":"a350443661d001ac55787741969a75d94ca14116"}],"database_specific":{"cpe":"cpe:2.3:a:librechat:librechat:0.7.5:rc2:*:*:*:*:*:*","extracted_events":[{"introduced":"0.7.5-rc2"},{"last_affected":"0.7.5-rc2"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["0.7.5-rc2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-10366.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L"}]}