Skip to content
Threat Feed
low advisory

OpenEMR: Improper Authorization in Medication Dispensing (CVE-2026-126433)

OpenEMR versions before 8.5.0 contain an improper authorization vulnerability in 'interface/drugs/dispense_drug.php' that allows authenticated users with read-only drug administration access to manipulate inventory and generate fraudulent dispensing records.

CVE search metadata

CVE search record: CVE-2026-126433. Severity: medium. CVSS: 5.9. EPSS: 0.23%. KEV: no. Product: openemr. Brief: OpenEMR: Improper Authorization in Medication Dispensing (CVE-2026-126433). Brief link: https://feed.craftedsignal.io/briefs/2026-11-openemr-auth-bypass-cve-2026-126433/

Triage facts

Revision 1
Applicability
openemr
Evidence
Unknown
Severity
Low
Sources
2 public sources
Freshness
Revision 1Nov 17, 21:38 UTC
Detection
1 rule
Vulnerabilities
1 CVE
Source quality
A2Roughly even chance

Overview

OpenEMR before 8.5.0 contains an improper authorization vulnerability in 'interface/drugs/dispense_drug.php'. The application performs an insufficient permission check by requiring only 'admin/drugs' view access instead of write access before processing medication dispensing.

Attack Chain

An authenticated user with read-only drug administration access can send crafted GET requests to 'interface/drugs/dispense_drug.php'. By including the 'drug_id', 'quantity', 'fee', and 'encounter' parameters, an attacker can create false dispensing records and decrement medication inventory without the appropriate write permissions.

Impact

Successful exploitation results in the unauthorized creation of dispensing records and the incorrect decrementing of medication inventory levels.

Recommendation

Upgrade to OpenEMR version 8.5.0 or later to resolve the vulnerability.

Detection coverage 1

Potential Unauthorized Medication Dispensing via dispense_drug.php

medium

Detects GET requests to the 'interface/drugs/dispense_drug.php' endpoint that include parameters associated with the medication dispensing process.

sigma sources: webserver

Detection queries are available on the platform. Get full rules →