{"id":"CVE-2026-126433","title":"OpenEMR before 8.5.0 Improper Authorization via dispense_drug.php","summary":"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 w…","severity":"medium","cvss":5.9,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L","cvssSource":"cna","cwe":["CWE-863"],"vendor":"openemr","product":"openemr","affected":["openemr < 8.5.0"],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-17T20:23:32.408814Z"},"exploitAvailable":true,"published":"2026-11-13","updated":"2026-11-17","sourceUpdated":"2026-11-17T20:38:30.908Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-126433","references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-hp8p-h8g8-xmg3","label":"GitHub Security Advisory (GHSA-hp8p-h8g8-xmg3)"},{"url":"https://www.vulncheck.com/advisories/openemr-before-8.5.0-improper-authorization-via-dispense-drug-php","label":"VulnCheck Advisory: OpenEMR before 8.5.0 Improper Authorization via dispense_drug.php"}],"tags":["cve.org","exploit-available"],"epss":0.00318,"epssPercentile":0.25031,"ingestedAt":"2026-11-13T10:36:39.547Z","slug":"CVE-2026-126433","body":"## Overview\n\nOpenEMR 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.\n\n## Affected\n\n- `openemr < 8.5.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":45,"depthScoreParts":{"impact":32.5,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[{"seq":240508,"id":"CVE-2026-126433","ts":1794951944168,"field":"exploit_available","old":"false","new":"true"}]}