OpenEMR before 8.5.0 Improper Authorization via dispense_drug.php
- State
- Published
- Severity
- 6.0 Medium
- Published
- Nov 13, 2026
- Updated
- Nov 17, 2026
- Reserved
- Nov 10, 2026
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.
| Product | Versions |
|---|---|
| openemr openemr | before 8.5.0 Affected8.5.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.0 Medium | VulnCheck | |
| 3.1 | 5.9 Medium | VulnCheck |
Weaknesses
- CWE-863 Incorrect Authorization
References
- GitHub Security Advisory (GHSA-hp8p-h8g8-xmg3)Vendor Advisory
- VulnCheck Advisory: OpenEMR before 8.5.0 Improper Authorization via dispense_drug.phpThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.