CVE-2026-126433

OpenEMR before 8.5.0 Improper Authorization via dispense_drug.php

Published Nov 13, 2026 CVSS 4.0 · 6 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

OpenEMR before version 8.5.0 has an authorization flaw in interface/drugs/dispense_drug.php that checks only for the admin/drugs view permission instead of the required write permission before processing a medication dispense. Authenticated users who possess only read‑only drug administration rights can supply drug_id, quantity, fee, and encounter parameters in a GET request and cause the system to record a dispensing event and reduce the inventory count. The result is the creation of false dispensing records and an incorrect inventory balance.

Affected Systems

All OpenEMR installations running a version earlier than 8.5.0 and using the drug administration module are affected. The vulnerability resides in the dispense_drug.php interface and applies to every instance where the module is enabled. Administrators should verify whether their deployment includes this component.

Risk and Exploitability

The CVSS score of 6.0 indicates moderate severity, and the EPSS score of less than 1% shows a very low expected exploitation probability at present. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated session with read‑only drug administration permission; the attacker can then issue crafted GET requests to the affected endpoint to create dispensing records without proper authorization.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to OpenEMR 8.5.0 or later, which implements the correct write‑level authorization check.
  • Restrict or remove read‑only drug administration rights from users who do not need write access to the drug module, thereby limiting the available attack surface.
  • Continuously monitor dispensing logs and inventory levels for anomalous entries that may indicate unauthorized dispensing activities.

Generated by OpenCVE AI on November 14, 2026 at 16:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Openemr
Openemr openemr
Vendors & Products Openemr
Openemr openemr
Type Values Removed Values Added
Description 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.
Title OpenEMR before 8.5.0 Improper Authorization via dispense_drug.php
First Time appeared Open-emr
Open-emr openemr
Weaknesses CWE-863
CPEs cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Vendors & Products Open-emr
Open-emr openemr
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L'}

cvssV4_0

{'score': 6, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 17, 2026, 8:38 PM
Reserved
Nov 10, 2026, 9:37 PM
Status
Analyzed
Published
Nov 13, 2026, 10:17 AM
Modified
Nov 17, 2026, 9:17 PM