---
id: "CVE-2026-126438"
page: "https://infrastack.ai/live/CVE-2026-126438"
kind: "vulnerability"
aliases: ["CVE-2026-126438"]
title: "OpenEMR: read-only users can alter clinical-rule records of other patients"
severity: "medium"
cvss: 5.3
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["healthcare", "openemr", "other", "self-hosted"]
not_affected_if: ["openemr-8.5.0-or-later"]
published_at: "2026-11-13T10:17:50+00:00"
first_seen_at: "2026-11-13T10:47:22+00:00"
updated_at: "2026-11-13T10:57:14+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126438", "first_seen_at": "2026-11-13T10:47:22+00:00"}]
exploit_sources: []
---

# OpenEMR: read-only users can alter clinical-rule records of other patients

Link for people: https://infrastack.ai/live/CVE-2026-126438 (this .md is for agents)

OpenEMR before 8.5.0 has an authorization flaw in its patient data rules handler, letting read-only patient or medical users overwrite clinical-rule records. An attacker can submit a global record ID to change completion date, state, and result, including for patients outside their assigned squad.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the OpenEMR version in use; versions below `8.5.0` are listed as affected.
- Review `interface/patient_file/rules/patient_data.php` in the deployed code for the authorization check.

## Fix

- OpenEMR `8.5.0` (fixed version named in the affected range).

## Timeline

- 2026-11-13T10:47:22+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-126438

## Documents

- [advisory] Vendor advisory: github.com https://github.com/openemr/openemr/security/advisories/GHSA-xqq3-59h5-xhmr
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openemr-before-8.5.0-improper-authorization-in-clinical-rule-editor-patient-data-php

## From the sources

OpenEMR before 8.5.0 contains an improper authorization vulnerability in interface/patient_file/rules/patient_data.php that allows read-only patients/med users to modify clinical-rule records. Attackers can submit a global form_entryID row ID to overwrite completion date, state, and result, including records of patients outside their configured squad.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
