---
id: "CVE-2026-124461"
page: "https://infrastack.ai/live/CVE-2026-124461"
kind: "vulnerability"
aliases: ["CVE-2026-124461"]
title: "OpenEMR: any logged-in user can read and overwrite patient documents"
severity: "high"
cvss: 8.6
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["healthcare", "openemr", "other", "php", "self-hosted"]
not_affected_if: ["openemr-8.3.0-or-later"]
published_at: "2026-11-08T14:18:13+00:00"
first_seen_at: "2026-11-08T14:48:40+00:00"
updated_at: "2026-11-08T14:49:13+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124461", "first_seen_at": "2026-11-08T14:48:40+00:00"}]
exploit_sources: []
---

# OpenEMR: any logged-in user can read and overwrite patient documents

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

OpenEMR before 8.3.0 lets any authenticated user supply an arbitrary doc_id to library/ajax/upload.php and read or overwrite that document. Low-privilege users can enumerate document IDs to expose patient health information and alter medical records across all patients.

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

## How to check

- Check the installed OpenEMR version; versions before `8.3.0` are in scope.
- Review access to `library/ajax/upload.php` in your web server logs for fetch and save requests with varying doc_id values.

## Fix

- OpenEMR: move to `8.3.0` or later.

## Timeline

- 2026-11-08T14:48:40+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-124461

## Documents

- [advisory] Vendor advisory: github.com https://github.com/openemr/openemr/security/advisories/GHSA-7h7v-29jv-527v
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openemr-before-8.3.0-idor-via-dicom-library-ajax-upload-php-endpoint

## From the sources

OpenEMR before 8.3.0 contains a missing authorization vulnerability in library/ajax/upload.php that allows any authenticated user to read and overwrite document data by supplying an arbitrary doc_id. Low-privilege users can enumerate doc_id values with the fetch and save actions to disclose patient health information and tamper with medical records across all patients.

---

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