Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege core user
-
DeliverySet victim patient as session PID
-
ExploitPOST replacement credentials to create_portallogin.php
-
ExecutionOverwrite patient_access_onsite row (no ACL)
-
PersistComplete portal login/forced-reset as victim
-
ImpactRead PHI and lock out patient
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated OpenEMR core account - but explicitly one that need NOT hold the patients/demo or portal-management ACL (confirmed with a zero-rule account), matching PR:L. The patient portal feature must be enabled on the deployment. The target patient must already have an existing portal account, and the attacker must be able to set that patient as the current session PID. Where portal email verification is enforced, the attacker additionally needs the victim patient's email address. Limiting factors that reduce real-world reach: it is not remote-unauthenticated (an authenticated staff/core foothold is required), the portal must be enabled, and email-verification deployments add the email prerequisite - so realistic risk is strongest for malicious or compromised insiders rather than anonymous internet attackers. |
| Impact | This is a credible, prioritize-this-week issue rather than a paper-high CVSS. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H) scores 8.6 and matches the described mechanism: network-reachable, low-complexity, and exploitable by any authenticated low-privilege core user with no user interaction. The vendor's own GHSA advisory confirms the flaw was reproduced end-to-end on v8.4.1 using a zero-rule staff account, which corroborates the PR:L / low-barrier picture. The vuln.today Decision label is 'this_week', consistent with a confirmed, patched, insider-exploitable authorization gap. No EPSS score and no KEV listing were provided, so there is no evidence of current mass or confirmed active exploitation - exploitation requires an existing authenticated foothold, which lowers the probability of indiscriminate internet-wide abuse but keeps insider and post-compromise risk high. The dual high confidentiality and integrity impact (read PHI plus overwrite credentials and lock patients out) in a healthcare records system makes this materially significant despite the authentication prerequisite. Missing signals to verify: EPSS probability and KEV status are absent (treat 'active exploitation' as unconfirmed); the exact fixed-commit coverage of the v4.1.0-v8.4.1 range is from reporter commit analysis, not independently re-verified here. |
| Exploit ScenarioDerived | A low-privilege OpenEMR staff user (e.g. a zero-rule core account) with no patient-demographics or portal-management permission selects a victim patient as the current session patient, then posts attacker-chosen replacement portal credentials to create_portallogin.php. Because no ACL is checked, the victim's patient_access_onsite credential row is overwritten, and the attacker logs into the patient portal to read the victim's PHI, messages, documents, and results - and can lock the real patient out. A detailed, reproduction-level PoC (including the raw HTTP POST and the follow-on portal login/forced-reset flow) is published in the vendor GHSA advisory, which states it was confirmed end-to-end on v8.4.1. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Patient portal account takeover in OpenEMR (v4.1.0 through v8.4.1, fixed in 8.5.0) lets any authenticated core staff account - including one with zero ACL rules - overwrite another patient's portal username and password, then authenticate to the portal as that patient to read demographics, messages, documents, appointments and other enabled chart data, or lock the patient out entirely. The root cause is a missing authorization check in create_portallogin.php (CWE-862) that treats the session PID as sufficient authority; exploitation requires the patient portal feature to be enabled and a target with an existing portal account, plus the victim's email address on deployments that enforce portal email verification. The vendor advisory documents a proof-of-concept reproduction confirmed end-to-end against v8.4.1, the fix ships in OpenEMR 8.5.0, and there is no CISA KEV listing at time of analysis - realistic risk is concentrated on malicious or compromised insiders rather than anonymous internet attackers.
RemediationAI
Vendor-released patch: OpenEMR 8.5.0 - upgrade all instances running v4.1.0 through v8.4.1 (and any earlier build below 8.5.0) as the primary fix, per GHSA-83hq-c876-fcwf. The vendor's recommended change is structural: require an explicit patient-portal credential-management ACL before rendering or processing create_portallogin.php, re-authorize the selected patient at the action itself rather than relying on the dashboard's ['patients', 'demo'] boundary, record the privileged credential replacement as a security audit event, and route credential replacement through a separately verified administrative workflow. Until the upgrade is deployed, the practical interim controls are to restrict access to /interface/patient_file/summary/create_portallogin.php at the web server or reverse proxy to a small set of portal-administration accounts - a trade-off that breaks legitimate portal credential provisioning for other staff - or, where portal self-service is not operationally required, disable the patient portal entirely, which removes exposure but also removes the feature. Enforcing portal email verification only adds the victim-email prerequisite and does not fix the missing check, and relying on the forced-password-change flag provides no mitigation because the attacker sets the replacement password. Because a successful attack rewrites patient_access_onsite, audit existing rows for unexpected portal_username, portal_login_username or portal_pwd changes and for forced-reset state anomalies, and review staff accounts holding zero ACL rules for signs of compromise. The nvd/CVE record scores this 8.6 under CVSS 4.0 while the assessed exploitability is CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N, reflecting that an authenticated foothold is required.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenEMR is a PHP-based electronic health record and practice-management platform backed by a SQL database, and this flaw sits in its patient portal credential-provisioning path. The controller interface/patient_file/summary/create_portallogin.php pulls the current patient identifier from the active session via SessionWrapperFactory ($pid = $session->get('pid', 0)) and, after validating CsrfUtils::checkCsrfInput(), passes attacker-controlled uname, login_uname, pwd and forced_reset_disable values directly into PatientAccessOnsiteService::saveCredentials(). That service performs a plain UPDATE (or INSERT when no row exists) against the patient_access_onsite table keyed on pid, and neither the controller nor the service checks a patient-demographics or portal-administration permission. The dashboard's PortalCard component declares ['patients', 'demo'] as the intended UI boundary, but the direct endpoint never repeats that ACL check - the classic CWE-862 missing authorization pattern, where an authorization decision enforced only by the user interface is bypassable by calling the action directly. Because the credential row itself is replaced, the forced-password-change setting is not a barrier: the attacker knows the replacement password and can complete the reset flow to reach /portal/home.php as the victim. A valid CSRF token is still required, so the actor must already be an authenticated user able to mint a token with the victim selected as the current session patient; deployments enforcing portal email verification additionally require knowledge of the target patient's email address.
Know when Openemr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Network-reachable endpoint exploitable by any authenticated low-privilege core user (PR:L) with no interaction; high confidentiality (PHI) and integrity (credential overwrite), no direct availability metric to the system.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
OpenEMR before 8.5.0 contains a missing authorization vulnerability in create_portallogin.php that allows low-privilege authenticated users to replace patient portal credentials without ACL checks. Attackers can select a victim patient in session and post replacement credentials to take over portal accounts, read PHI, and lock patients out.
Technical POC Analysis
CWE-862 (Missing Authorization) in OpenEMR's patient-portal credential manager.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-126442 is a high-severity authorization bypass in OpenEMR, a widely used electronic health record system, allowing any authenticated staff member-even those with minimal privileges-to take over patient portal accounts. This compromises patient confidentiality and trust, and could lead to regulatory penalties under HIPAA. Leadership should prioritize patching because the vulnerability is easily exploited by insiders and affects protected health information.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to
Unauthenticated token disclosure in OpenEMR before 8.0.0. CVSS 10.0. PoC and patch available.
Path traversal in OpenEMR 7.0.4 disposeDocument() allows file access. PoC available.
Path traversal in OpenEMR electronic health records before fix allows authenticated users to read arbitrary files on the
SQL injection in OpenEMR electronic health records before fix. Authenticated users can execute arbitrary SQL through the
OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.cl
An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid par
Information disclosure in OpenEMR 5.0.2 to before 8.0.0 exposes sensitive data. PoC and patch available.
Remote code execution in OpenEMR through 8.2.0 lets an authenticated administrator poison the document category tree so
interface/fax/fax_dispatch.php in OpenEMR 4.1.0 allows remote authenticated users to execute arbitrary commands via shel
Authenticated low-privilege users can exploit OpenEMR before 8.3.0 to read and write arbitrary files through the fax/sms
interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication
EUVD-2026-125001
GHSA-53fq-463x-v8f4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB