---
id: CVE-2026-102940
title: 'OpenEMR: Missing Write ACL Allows Unauthorized Document Reassignment'
summary: >-
  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 t…
severity: critical
cvss: 9.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N'
cvssSource: cna
cwe:
  - CWE-639
vendor: openemr
product: openemr
affected:
  - openemr < 8.4.0
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-11-05T21:02:14.936697Z'
exploitAvailable: true
published: '2026-11-05'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T21:02:33.527Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-102940'
references:
  - url: 'https://github.com/openemr/openemr/security/advisories/GHSA-92rh-g949-4mvv'
    label: 'https://github.com/openemr/openemr/security/advisories/GHSA-92rh-g949-4mvv'
  - url: 'https://github.com/openemr/openemr/pull/13353'
    label: 'https://github.com/openemr/openemr/pull/13353'
  - url: >-
      https://github.com/openemr/openemr/commit/312b5d042f7fa49cc78ebed041155fba339a991c
    label: >-
      https://github.com/openemr/openemr/commit/312b5d042f7fa49cc78ebed041155fba339a991c
  - url: 'https://github.com/openemr/openemr/releases/tag/v8_3_0'
    label: 'https://github.com/openemr/openemr/releases/tag/v8_3_0'
tags:
  - cve.org
  - exploit-available
ingestedAt: '2026-11-05T22:38:31.955Z'
---

## Overview

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.

## Affected

- `openemr < 8.4.0`

## Remediation

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