GHSA-6q3p-w9pp-66x2MediumCVSS 5.3
AiToEarn through 2.5.0 contains an insecure direct object reference vulnerability in aitoearn...
🔗 CVE IDs covered (1)
📋 Description
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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-141316
- https://github.com/yikart/AiToEarn/issues/622
- https://github.com/yikart/AiToEarn/blob/v2.5.0/project/aitoearn-backend/apps/aitoearn-server/src/core/content/material.controller.ts#L193-L198
- https://www.vulncheck.com/advisories/aitoearn-through-2.5.0-idor-in-by-id-read-endpoints-exposes-drafts-and-media
- https://github.com/advisories/GHSA-6q3p-w9pp-66x2