---
id: "CVE-2026-126461"
page: "https://infrastack.ai/live/CVE-2026-126461"
kind: "vulnerability"
aliases: ["CVE-2026-126461"]
title: "OpenEMR: any logged-in user can override global service settings"
severity: "high"
cvss: 7.1
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["healthcare", "openemr", "package", "php", "self-hosted"]
not_affected_if: ["openemr-8.5.0-or-later"]
published_at: "2026-11-13T10:17:54+00:00"
first_seen_at: "2026-11-13T10:47:24+00:00"
updated_at: "2026-11-13T10:53:03+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126461", "first_seen_at": "2026-11-13T10:47:24+00:00"}]
exploit_sources: []
---

# OpenEMR: any logged-in user can override global service settings

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

OpenEMR before 8.5.0 lets any authenticated user save arbitrary global configuration overrides through user_settings.php. An attacker can point service hosts such as CouchDB, eRx, phiMail, or SMTP at servers they control, capturing system credentials and patient health information.

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

## How to check

- Check the installed OpenEMR version; `8.5.0` or later is not affected.
- Review `library/ajax/user_settings.php` for missing authorization checks on global settings.

## Fix

- OpenEMR: upgrade to `8.5.0` or later.

## Timeline

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

## Documents

- [advisory] Vendor advisory: github.com https://github.com/openemr/openemr/security/advisories/GHSA-prmv-3m3j-9v7j
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openemr-before-8.5.0-missing-authorization-via-user-settings-php-global-override

## From the sources

OpenEMR before 8.5.0 contains a missing authorization vulnerability in library/ajax/user_settings.php that lets any authenticated user persist arbitrary global configuration overrides. Attackers can POST global:-prefixed keys to re-point external service hosts like CouchDB, eRx, phiMail, or SMTP to attacker-controlled servers, exfiltrating system credentials and patient PHI.

---

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