CVE-2026-126433
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.
How to fix
- openemr openemr8.5.0 or later
- open-emr openemr8.5.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openemr openemr | v < 8.5.0 | 8.5.0 |
| open-emr openemr | v < 8.5.0 | 8.5.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.