{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "cpe": "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*",
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "8.3.0"
                  }
                ],
                "source": "CPE_RANGE"
              },
              {
                "range": [
                  {
                    "fixed": "7973cab3fe3f2fd2374ed71c02605e3c93491c36"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v8_3_0",
                "range": [
                  {
                    "fixed": "ebb62eb3036a726314ab3e1c3e9263a41608b17b"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "ebb62eb3036a726314ab3e1c3e9263a41608b17b"
            },
            {
              "fixed": "7973cab3fe3f2fd2374ed71c02605e3c93491c36"
            }
          ],
          "repo": "https://github.com/openemr/openemr",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-6p9h-59cp-8hxj"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104138.json"
  },
  "details": "OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.3.0, custom/ajax_download.php, custom/download_qrda.php, custom/export_qrda_xml.php, and custom/qrda_download.php validate CSRF but do not enforce the patients/med ACL used by the canonical CQM report page. The endpoints also accept an unscoped report_id, allowing a low-privilege authenticated user to reach report generation and download logic for other reports. In a clinic with generated CQM reports, this can expose QRDA Category One and Category Three clinical documents for patients in a measure. This issue is fixed in version 8.3.0.",
  "id": "CVE-2026-104138",
  "modified": "2026-11-12T02:30:46.974574019Z",
  "published": "2026-11-05T20:01:53.106Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/openemr/openemr/releases/tag/v8_3_0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104138.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/openemr/openemr/security/advisories/GHSA-6p9h-59cp-8hxj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-104138"
    },
    {
      "type": "FIX",
      "url": "https://github.com/openemr/openemr/commit/7973cab3fe3f2fd2374ed71c02605e3c93491c36"
    },
    {
      "type": "FIX",
      "url": "https://github.com/openemr/openemr/pull/13200"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "OpenEMR: Missing authorization on QRDA Category I/III download endpoints"
}