← Back to search

CVE-2026-124469

9.9 CRITICALpublic exploit available

Published 2026-11-08 · Updated 2026-11-10

AI risk analysis

Summary
OpenEMR before 8.3.0 contains an SQL injection flaw in the Fee Sheet drug-inventory lookup where the POST field prod[N][warehouse] is interpolated into an ORDER BY clause without sanitization. Authenticated low-privileged users can exploit this to perform time-based blind SQL injection, extracting sensitive data including patient records and bcrypt-hashed credentials.
Exploitability
Exploitation requires valid low-privileged authentication and the ability to submit crafted POST requests to the Fee Sheet drug-inventory endpoint; public exploits exist, making exploitation straightforward for attackers with minimal skill.
Blast radius
Successful exploitation allows full compromise of patient data and credential theft, potentially affecting all users and patients in the system due to access to bcrypt hashes and sensitive health information.
Detection
Defenders should monitor web server access logs for POST requests to endpoints handling drug-inventory lookups (e.g., /interface/billing/drug_sales_service.php) containing suspicious ORDER BY patterns in the prod[N][warehouse] parameter, such as subqueries with SLEEP(), BENCHMARK(), or conditional time delays; elevated response times correlated with such requests may indicate exploitation.
Prioritized remediation
Upgrade to OpenEMR version 8.3.0 or later, which patches this SQL injection vulnerability.
sql-injectionblind-sqliauth-bypassweb-apphealthcaretime-based

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

OpenEMR before 8.3.0 contains an SQL injection vulnerability in the Fee Sheet drug-inventory lookup (DrugSalesService::sellDrug) that interpolates the prod[N][warehouse] POST field into an ORDER BY clause. Low-privileged authenticated users can submit Fee Sheet product lines with constant subqueries to run a time-based blind oracle, extracting patient data and users_secure bcrypt hashes.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Weaknesses

CWE-89

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.