Skip to main content

OpenEMR CVE-2026-126433

| EUVDEUVD-2026-125010 MEDIUM
Incorrect Authorization (CWE-863)
2026-11-13 VulnCheck GHSA-q5w8-7ccq-72g6
6.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with read-only drug-admin account
  2. Exploit
    Select patient and active encounter in session
  3. Execution
    Send GET to dispense_drug.php with drug_id/quantity/fee
  4. Impact
    Server creates false sale record and decrements inventory

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
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 a deployment that uses OpenEMR's in-house medication inventory and dispensing feature, an authenticated core account whose 'admin/drugs' grant is read-only (return value 'view'), a test/target medication with an available non-expired inventory lot, and a patient with an active encounter selected in that account's session (the endpoint rejects dispensing when no valid encounter is selected). Limiting factors: exploitation is impossible without valid low-privilege credentials (PR:L, authenticated), without the in-house pharmacy feature in use, and without an active encounter for the targeted patient; there is no remote unauthenticated path and no confidentiality impact.

Impact

This is a medium-severity integrity flaw, not a system-compromise bug. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L) scores 6.0 and is internally consistent with the mechanism: a network-reachable endpoint abusable by a low-privileged but authenticated account (PR:L), with an attack requirement (AT:P) that maps to the advisory's precondition of an active patient encounter, producing high integrity impact (VI:H, falsified dispensing/audit records) and low availability impact (VA:L, inventory depletion) but no confidentiality loss (VC:N). It is NOT in CISA KEV, so there is no confirmed active exploitation, and no EPSS score was provided, so widespread-exploitation probability cannot be quantified from the input. The GHSA advisory includes a concrete GET-request proof of concept, so a public PoC reference exists, though the input does not confirm it as packaged working exploit code. The vuln.today Decision label is 'this_month' (not act_now/emergency), aligning with a real-but-non-emergency insider/low-privilege authorization bug: the primary threat is a semi-trusted staff account with read-only drug-administration rights, not an anonymous internet attacker. Treat it as a genuine patch-this-cycle priority for healthcare operators running OpenEMR's in-house pharmacy, driven by medication-record and inventory integrity rather than external breach risk.

Exploit ScenarioDerived

A clinic staff member (or a compromised low-privilege account) holding only read-only 'admin/drugs=view' permission selects a patient and active encounter, then sends a single crafted GET request to interface/drugs/dispense_drug.php specifying drug_id, quantity, and fee. The server dispenses the medication, writes a false sale record attributed to that user, and decrements inventory, fabricating a dispensing event the account was never authorized to perform. A step-by-step PoC (the exact HTTP request) is published in the vendor GHSA advisory, lowering the effort to reproduce.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

Improper authorization in OpenEMR's in-house pharmacy endpoint (interface/drugs/dispense_drug.php) lets an authenticated account that holds only read-only 'admin/drugs' permission dispense medication, creating false drug_sales records and decrementing inventory in all versions before 8.5.0. Exploitation requires the in-house medication dispensing feature to be in use, a target medication with a non-expired inventory lot, and a patient with an active encounter selected in the attacker's session, so this is a medium-severity integrity flaw rather than a system-compromise bug, with no confidentiality impact and no remote unauthenticated path. The public vendor advisory documents a proof-of-concept HTTP request but no confirmed working exploit code or active exploitation (CISA KEV) has been reported, and the vendor has released OpenEMR 8.5.0 as the fix.

RemediationAI

Upgrade to OpenEMR 8.5.0, the vendor-released fixed version, which corrects the authorization check in interface/drugs/dispense_drug.php; see the GitHub advisory at https://github.com/openemr/openemr/security/advisories/GHSA-hp8p-h8g8-xmg3 and the VulnCheck advisory at https://www.vulncheck.com/advisories/openemr-before-8.5.0-improper-authorization-via-dispense-drug-php. The advisory does not document a code-level workaround, so patching is the only complete fix; interim compensating controls consistent with the disclosed preconditions include re-granting write permission only where genuinely needed and auditing the drug_sales and inventory tables for dispensing rows authored by accounts holding view-only admin/drugs grants, since such rows are the observable footprint of exploitation. Because each recorded abuse also requires an active encounter in the attacker's session, reviewing session and encounter activity for those accounts gives an additional detection point; blocking or restricting access to interface/drugs/dispense_drug.php for view-only roles at the web server limits exposure but will break legitimate dispensing for that role if misapplied.

Affected VersionsENISA

OpenEMR 0 <8.5.0

Affected Packages

euvd openemr fix: 8.5.0

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 electronic health record and practice-management application whose in-house pharmacy module performs dispensing as soon as interface/drugs/dispense_drug.php receives a request. The script reads every transaction field (sale_id, drug_id, prescription, quantity, fee, encounter) from $_REQUEST, so a plain GET acts as a state-changing call, and its only authorization gate is AclMain::aclCheckCore('admin', 'drugs') invoked without requiring the 'write' return value; the read-only 'view' grant therefore passes the check even though dispensing and inventory decrement are write operations. The downstream DrugSalesService::sellDrug() method trusts the patient already stored in the session, validates only that the supplied encounter belongs to that patient, and then inserts a row into drug_sales and updates stock, preserving database consistency without proving user intent or write entitlement. The root cause is the improper authorization class (CWE-863; the GitHub advisory labels it CWE-284): a coarse ACL check that omits the write-permission requirement on a read-capable code path, combined with acceptance of state-changing parameters over GET.

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

Vendor (VulnCheck) PRIMARY 6.0 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

Network-reachable but needs an authenticated low-priv account (PR:L) plus a selected active encounter precondition (AC:H); high integrity from falsified records (I:H), low availability from inventory depletion (A:L), no confidentiality impact.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 13, 2026 - 10:02 EUVD

DescriptionCVE.org

OpenEMR before 8.5.0 contains an improper authorization vulnerability in interface/drugs/dispense_drug.php, which checks only for admin/drugs view permission instead of write permission before dispensing medication. Authenticated users with read-only drug administration access can send GET requests with drug_id, quantity, fee, and encounter parameters to create false dispensing records and decrement inventory.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Medium
popular open-source EHR, but healthcare-sector-specific deployment footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2013-10044 HIGH POC
8.7 Aug 01

An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to

CVE-2026-24898 CRITICAL POC
10.0 Mar 03

Unauthenticated token disclosure in OpenEMR before 8.0.0. CVSS 10.0. PoC and patch available.

CVE-2026-24848 CRITICAL POC
9.9 Mar 03

Path traversal in OpenEMR 7.0.4 disposeDocument() allows file access. PoC available.

CVE-2026-24849 CRITICAL POC
9.9 Feb 25

Path traversal in OpenEMR electronic health records before fix allows authenticated users to read arbitrary files on the

CVE-2026-24908 CRITICAL POC
9.9 Feb 25

SQL injection in OpenEMR electronic health records before fix. Authenticated users can execute arbitrary SQL through the

CVE-2024-22611 CRITICAL POC
9.8 Apr 03

OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.cl

CVE-2024-37734 CRITICAL POC
9.8 Jun 26

An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid par

CVE-2026-25146 CRITICAL POC
9.6 Mar 03

Information disclosure in OpenEMR 5.0.2 to before 8.0.0 exposes sensitive data. PoC and patch available.

CVE-2026-39932 CRITICAL POC
9.4 Aug 03

Remote code execution in OpenEMR through 8.2.0 lets an authenticated administrator poison the document category tree so

CVE-2012-0992 HIGH POC
8.5 Feb 07

interface/fax/fax_dispatch.php in OpenEMR 4.1.0 allows remote authenticated users to execute arbitrary commands via shel

CVE-2026-124450 CRITICAL POC
9.3 Nov 08

Authenticated low-privilege users can exploit OpenEMR before 8.3.0 to read and write arbitrary files through the fax/sms

CVE-2015-4453 MEDIUM
5.0 Jul 05

interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy