{"id":"CVE-2026-141316","summary":"AiToEarn through 2.5.0 IDOR in By-ID Read Endpoints Exposes Drafts and Media","details":"AiToEarn through 2.5.0 contains an insecure direct object reference vulnerability in aitoearn-server by-id read endpoints that fail to verify object ownership against the requesting user. Unauthenticated attackers can query the public GET /material/info/:id route and logged-in users can query media and group info/:id routes, enumerating time-ordered MongoDB ObjectIds to read other users' drafts and media.","modified":"2026-12-01T17:00:44.082636813Z","published":"2026-12-01T15:43:38.538Z","database_specific":{"cwe_ids":["CWE-639"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141316.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141316.json"},{"type":"PACKAGE","url":"https://github.com/yikart/AiToEarn"},{"type":"ARTICLE","url":"https://github.com/yikart/AiToEarn/blob/v2.5.0/project/aitoearn-backend/apps/aitoearn-server/src/core/content/material.controller.ts#L193-L198"},{"type":"REPORT","url":"https://github.com/yikart/AiToEarn/issues/622"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141316"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/aitoearn-through-2.5.0-idor-in-by-id-read-endpoints-exposes-drafts-and-media"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/yikart/aitoearn","events":[{"introduced":"0"},{"last_affected":"3140363cfafda60adbf932a882220505c3f16b27"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"2.5.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["v2.5.0","v2.4.0","v2.1.0","v1.8.0","1.5.0","v1.4.6","v1.4.5","1.4.4","1.4.3","v1.4.1","v1.4.0","1.3.3","v1.3.2","v1.1.0","v1.0.27","v1.0.24","v1.0.18","v0.1.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-141316.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}]}