{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "8.4.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "cpe": "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*",
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "8.4.0"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "53d885e56d4772b4e48810a1f98531c5d19a934d"
            }
          ],
          "repo": "https://github.com/openemr/openemr",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-r79c-4hf6-fgp3"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124487.json"
  },
  "details": "OpenEMR before 8.4.0 contains an improper authorization vulnerability in the non-patient POST /fhir/DocumentReference/$docref route that allows low-privileged users to generate any patient's CCDA. Attackers with only demographics and documents permissions can supply a victim patient parameter, then download the full-chart CCDA from Patient Documents to exfiltrate clinical data.",
  "id": "CVE-2026-124487",
  "modified": "2026-11-18T20:45:40.181949243Z",
  "published": "2026-11-08T13:16:05.081Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124487.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/openemr/openemr/security/advisories/GHSA-r79c-4hf6-fgp3"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124487"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/openemr-before-8.4.0-improper-authorization-in-fhir-documentreference-docref"
    }
  ],
  "schema_version": "1.9.2",
  "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": "OpenEMR before 8.4.0 Improper Authorization in FHIR DocumentReference $docref"
}