---
id: CVE-2026-124487
title: OpenEMR before 8.4.0 Improper Authorization in FHIR DocumentReference $docref
summary: >-
  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 doc…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-863
vendor: openemr
product: openemr
affected:
  - openemr < 8.4.0
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-09T14:18:50.499481Z'
exploitAvailable: true
published: '2026-11-08'
updated: '2026-11-09'
sourceUpdated: '2026-11-09T14:19:10.823Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-124487'
references:
  - url: 'https://github.com/openemr/openemr/security/advisories/GHSA-r79c-4hf6-fgp3'
    label: GitHub Security Advisory (GHSA-r79c-4hf6-fgp3)
  - url: >-
      https://www.vulncheck.com/advisories/openemr-before-8.4.0-improper-authorization-in-fhir-documentreference-docref
    label: >-
      VulnCheck Advisory: OpenEMR before 8.4.0 Improper Authorization in FHIR
      DocumentReference $docref
tags:
  - cve.org
  - exploit-available
epss: 0.00324
epssPercentile: 0.25655
ingestedAt: '2026-11-08T13:50:34.957Z'
---

## Overview

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.

## Affected

- `openemr < 8.4.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
