Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLog in as authenticated portal patient
-
ExploitCapture persist.php settings POST with CSRF token
-
ExecutionChange setting_patient to victim PID
-
ImpactServer writes victim's portal setting (no ownership check)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Requires a valid, provisioned OpenEMR patient-portal account on the target instance (allow_patient_portal=YES and active credentials), so exploitation is limited to authenticated portal patients (PR:L). The attacker must supply a valid csrf_token_form, which is trivially obtained from their own authenticated session, and must know or guess the victim's PID - PIDs are sequential integers, so enumeration is easy. No special non-default configuration is needed beyond the patient portal being enabled (a standard OpenEMR feature). The practical ceiling on impact is that the demonstrated write is limited to another patient's portal settings (e.g. portal_theme); no authentication prompt, admin role, or user interaction by the victim is required. |
| Impact | This is a genuine but modest-severity authorization flaw, not a high-urgency emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) correctly shows network-reachable, low-complexity exploitation that nonetheless REQUIRES an authenticated portal patient account (PR:L), which materially limits the attacker population to provisioned portal users of the same OpenEMR instance. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a real-but-bounded issue. No CISA KEV listing and no EPSS score are present in the input, so there is no signal of active or probable widespread exploitation; however, the GHSA advisory includes a detailed, reproducible proof-of-replication (full login + Burp-capture + modified POST walkthrough), so exploitation is clearly practical for any authenticated patient. The most important caveat is an impact overstatement: the supplied CVSS 4.0 rates integrity VI:H, but the only demonstrated and vendor-described effect is writing another patient's portal settings (e.g. the portal theme) via attacker-controlled setting_label/setting_value - the vendor itself labels this 'Low/Medium'. That VI:H rating is not supported by the described mechanism and should be verified; treat the practical integrity impact as low-to-moderate (cosmetic/settings tampering, cross-patient) absent evidence that a security-relevant setting can be written. |
| Exploit ScenarioDerived | An authenticated OpenEMR portal patient captures the normal 'save settings' POST to portal/lib/persist.php from their own session (including a valid csrf_token_form), then replays it with the setting_patient field changed from their own PID to a victim's PID. Because persist.php never compares setting_patient against the session PID, the server writes the chosen setting_label/setting_value to the victim's record and returns HTTP 200. A public, step-by-step proof-of-replication exists in the vendor GHSA advisory; it is not packaged as a standalone weaponized exploit tool but fully documents the technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 08, 2026
OpenEMR before 8.3.0 lets an authenticated patient-portal user write portal settings for another patient by changing the setting_patient value in a JSON POST to portal/lib/persist.php. The request must include a valid CSRF token from the attacker's own session, and the victim's PID must be known or guessed; PIDs are sequential, so enumeration is straightforward. Impact is limited to another patient's portal settings such as the theme, with no clinical-record modification demonstrated, and the vendor fixed the issue in OpenEMR 8.3.0.
RemediationAI
Vendor-released patch: 8.3.0. Upgrade to OpenEMR 8.3.0 or later; the advisory is at https://github.com/openemr/openemr/security/advisories/GHSA-rrw3-g25h-x68h. The fix must enforce that setting_patient matches the authenticated portal session's pid before PatientPortalService::persistPatientSetting is called. If upgrading cannot be done immediately, disable the patient portal for untrusted users or restrict portal account provisioning, recognizing that this does not remove the IDOR for any portal that remains enabled; monitor or correct unexpected changes to patient_settings such as portal_theme. VulnCheck advisory: https://www.vulncheck.com/advisories/openemr-before-8.3.0-idor-in-portal-patient-settings-via-persist-php.
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 an open-source electronic health record and practice-management platform. In the patient portal, portal/lib/persist.php accepts JSON POST data for settings persistence; it verifies the CSRF token but, before calling PatientPortalService::persistPatientSetting, it does not compare the user-controlled setting_patient parameter with the authenticated portal session's pid. This is CWE-639, Authorization Bypass Through User-Controlled Key, an IDOR-class flaw. The CPE cpe:2.3:a:openemr:openemr:*:*:*:*:*:*:*:* and EUVD list all OpenEMR versions before 8.3.0 as affected. Exploitation requires a valid, provisioned portal account on an instance with the patient portal enabled; the CSRF token is obtained from the attacker's own session, and sequential PIDs make the target identifier easy to enumerate. The independent assessment rates the practical impact as integrity-only on portal settings, CVSS 3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N, not a full account takeover or clinical-data compromise. The vendor advisory includes a detailed proof-of-replication using two portal patients and a modified JSON POST; no CISA KEV entry or confirmed active exploitation is present in the supplied data.
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:L/VI:H/VA:N/SC:N/SI:N/SA:N
Authenticated portal patient (PR:L) over the network (AV:N) with no UI; impact is limited cross-patient write of portal settings, so I:L and no confidentiality or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
OpenEMR before 8.3.0 contains an insecure direct object reference vulnerability in portal/lib/persist.php that allows authenticated portal patients to write settings for other patients. Attackers can modify the setting_patient parameter in a JSON POST request to another patient's PID, altering that patient's portal settings such as the portal theme.
Technical POC Analysis
CWE-639 (Authorization Bypass Through User-Controlled Key).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
OpenEMR, a widely used electronic health record system, contains a high-severity vulnerability (CVE-2026-124453) that allows an authenticated patient-portal user to modify another patient's portal settings, such as theme preferences. While the immediate impact appears limited to non-clinical data, this flaw erodes patient trust and could be leveraged for further attacks within the portal environment. Healthcare organizations running OpenEMR versions prior to 8.3.0 should prioritize remediation to protect patient privacy and maintain regulatory compliance.
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
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-119511
GHSA-6hmf-7cr6-3763
NVD
CVE.org
EPSS
Exploit-DB