{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.51.0"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0c346eba7d209b87e8b01569fed21d8d3e956c02"
            }
          ],
          "repo": "https://github.com/frappe/lms",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-c4xh-2rcm-6mgc"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-288"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39385.json"
  },
  "details": "Frappe LMS is an open source learning management system. In version 2.51.0 and earlier, a user could bypass payment validation for courses by using unrelated batch. This has been patched in 2.52.0 with enrollment now validating that the batch is linked to course.",
  "id": "CVE-2026-39385",
  "modified": "2026-07-22T05:29:52.806332624Z",
  "published": "2026-07-20T16:55:08.593Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39385.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/frappe/lms/security/advisories/GHSA-c4xh-2rcm-6mgc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-39385"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Frappe LMS enrollment bypass in paid courses via unrelated batch"
}