CVE-2026-141316: AiToEarn through 2.5.0 IDOR in By-ID Read Endpoints Exposes Drafts and Media
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.
Affected Software
Event History
Frequently Asked Questions
Which endpoints can be accessed without authentication, and which require a logged-in account?
Unauthenticated attackers can query the public GET /material/info/:id endpoint. Access to the affected media and group info/:id routes requires a logged-in user account.
What information can an attacker obtain through the affected endpoints?
An attacker can read other users' drafts and media by requesting objects they do not own. The issue results from missing ownership verification on by-ID read operations.
How would an attacker identify object IDs to target?
The affected application uses time-ordered MongoDB ObjectIds, which can be enumerated to locate other users' objects.
Which releases are known to be affected?
AiToEarn through version 2.5.0 is affected. No fixed version is provided in the available data.