{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "2.5.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "3140363cfafda60adbf932a882220505c3f16b27"
            }
          ],
          "repo": "https://github.com/yikart/aitoearn",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141316.json"
  },
  "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.",
  "id": "CVE-2026-141316",
  "modified": "2026-12-01T16:46:17.450623985Z",
  "published": "2026-12-01T15:43:38.538Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "AiToEarn through 2.5.0 IDOR in By-ID Read Endpoints Exposes Drafts and Media"
}