Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with any core (even zero-ACL) account
-
ExploitPOST to trusted-messages-ajax.php message-only branch
-
ExecutionMissing patients/notes authorization check bypassed
-
ImpactSend fraudulent Direct message as clinic's phiMail identity
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 (1) OpenEMR deployment with phiMail/Direct messaging enabled and configured with the clinic's credentials - the feature is not active by default; (2) any authenticated core account, including a zero-ACL user lacking the patients/notes permission; and (3) an attacker-chosen/controlled Direct recipient address. The vulnerable path is the message-only branch of trusted-messages-ajax.php, which omits the ACL check that the attachment branch performs. Limiting factors: exploitation is not possible without a valid session (PR:L, authenticated), is inapplicable where Direct messaging is disabled or unconfigured, and the confirmed path sends message text only - it does not auto-attach a patient chart (document access retains a separate category check), so this is impersonation/misinformation rather than document exfiltration. |
| Impact | This is a genuine but bounded authorization flaw, not a high-CVSS false alarm - and conversely not an emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N) shows network reach with low complexity, but two signals temper it: PR:L means the attacker must already hold a valid authenticated core account, and AT:P reflects a required deployment precondition (phiMail/Direct messaging must be enabled and configured with clinic credentials). Impact is integrity-only (VI:H; VC:N, VA:N) - the attacker cannot read data or deny service, only send fraudulent messages under the clinic's trusted identity. No EPSS score is provided, and the CVE is NOT in CISA KEV, so there is no evidence of active exploitation; exploitation status is 'no public exploit identified at time of analysis,' though the GHSA advisory includes a confirmed laboratory reproduction (on v8.4.1 against a mock phiMail listener) that substantially lowers the barrier to building a working exploit. The vuln.today Decision label is 'this_month,' consistent with a real-but-moderate priority: patch within the normal cycle rather than treat as act_now/emergency. The SSVC-style read aligns - technical impact is partial (messaging impersonation, no chart exfiltration), and automatability is limited by the authenticated-insider and configuration preconditions. Net: a credible insider/low-privilege-abuse and reputational/compliance risk for clinics running Direct messaging, not a mass-exploitable internet threat. |
| Exploit ScenarioDerived | A clinic has OpenEMR with phiMail/Direct messaging enabled and configured with the practice's credentials. A low-privilege or zero-ACL staff member (or an attacker who has phished/obtained any core account) sends a crafted POST to trusted-messages-ajax.php with a chosen recipient and body; the message-only branch performs no patients/notes authorization and transmits the content via the clinic's phiMail identity, impersonating the clinic. The vendor's GHSA advisory documents a confirmed reproduction on v8.4.1 using a local phiMail-compatible listener that captured the exact recipient and body under the clinic identity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Missing authorization in OpenEMR's Direct messaging handler (trusted-messages-ajax.php) lets any authenticated core account, including a zero-ACL user who lacks the patients/notes permission, send attacker-chosen message text to an arbitrary Direct recipient using the clinic's configured phiMail credentials - so the message appears to originate from the clinic itself. Affected releases are 7.0.0 through 8.4.1, fixed in 8.5.0, and exploitation requires an authenticated session (PR:L) on a deployment where phiMail/Direct messaging is actually enabled and provisioned with clinic credentials; the vulnerable message-only branch performs no ACL check, while the attachment branch does. The confirmed path sends message text only and does not auto-attach a patient chart, so impact is impersonation, clinical misinformation, spam and compliance/reputational harm rather than document exfiltration; no public exploit code has been confirmed and the issue is not in CISA KEV, with the vendor advisory providing a lab reproduction against a mock phiMail listener.
RemediationAI
Upgrade to OpenEMR 8.5.0, the vendor-released fixed version, which adds the feature's intended ACL enforcement (at minimum the patients/notes permission with appropriate write/add-only semantics) before resolving the patient or sending, while retaining the existing per-document access check as an additional requirement; see the vendor advisory at https://github.com/openemr/openemr/security/advisories/GHSA-vf9m-wg38-vcc2. Where an upgrade cannot be staged immediately, the practical compensating control is to disable or unconfigure Direct messaging/phiMail on installations that do not require it, since the flaw is inapplicable when the feature is off or lacks clinic credentials - the trade-off is loss of Direct clinical communications for that site. On deployments that need Direct messaging, review direct_message_log for sends attributed to low-privilege or zero-ACL accounts and treat such entries as potential impersonation, understanding that this log review is detection only and does not block the unauthorized send. Attachment handling retains its separate category check, so restricting users from document categories is not a substitute for the missing messaging authorization.
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, and Direct messaging over phiMail is its channel for trusted clinical communications exchanged under the practice's registered identity. The flaw is a missing authorization check (CWE-862, described in the upstream advisory as CWE-284) in /interface/main/messages/trusted-messages-ajax.php: the handler verifies that an authenticated username exists in the session and enforces a per-document category check only when a file attachment is supplied, but the message-only branch calls transmitMessage($message, $recipient, $verifyMessageReceived) with no ACL evaluation at all. transmitMessage() then authenticates to the external phiMail service with the practice-wide phimail_username and password and submits the caller-supplied recipient address and body, so the remote service attributes the send to the clinic rather than to the low-privilege caller; the send is recorded in direct_message_log with the local username, which provides after-the-fact attribution but no prevention. The handler passes pid and a csrf_token_form value in the reproduced request, and the zero-rule account received {"success":true} while the mock service captured the exact recipient and body. Because the missing check is authorization rather than authentication, the PHP session layer itself is behaving correctly; the defect is the absence of the patients/notes privilege test the feature declares.
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:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Authenticated core user over the network (PR:L, AV:N) exploits a simple missing ACL check (AC:L); integrity-only impact from sending fraudulent trusted messages (I:H), no confidentiality or availability loss.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
OpenEMR before 8.5.0 contains a missing authorization vulnerability in trusted-messages-ajax.php that allows any authenticated core user to send Direct messages without the patients/notes permission. Attackers with zero-ACL accounts can submit chosen recipients and message bodies sent via the clinic's phiMail credentials, impersonating the clinic to deliver fraudulent clinical communications.
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-124988
GHSA-8cqq-q32m-8p3f
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB