CVE-2026-126433
OpenEMR before 8.5.0 Improper Authorization via dispense_drug.php
6.0
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| openemr | openemr | 0 → <8.5.0 | 8.5.0 | CVE.org |
| openemr | open-emr | <8.5.0 | 8.5.0 | NVD |