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.
Published: 2026-11-08
Score: 9.4 Critical
EPSS: n/a
KEV: No
Impact: SQL Injection leading to patient data disclosure
Action: Immediate Patch
AI Analysis

Impact

The vulnerability is an unsanitized string interpolation in the Fee Sheet drug‑inventory lookup of OpenEMR that allows low‑privileged authenticated users to inject arbitrary SQL via the prod[N][warehouse] POST field. By crafting a value that evaluates to a constant subquery, an attacker can trigger a time‑based blind oracle and retrieve sensitive patient records and bcrypt hashes stored in the users_secure table. This SQL injection can lead to confidential data exposure and credential compromise.

Affected Systems

This flaw affects all OpenEMR installations running a version earlier than 8.3.0. The product affected is the OpenEMR application, provided by the openemr vendor, common to hospitals, clinics, and health‑care providers that rely on this open‑source electronic medical record system.

Risk and Exploitability

The flaw carries a CVSS score of 9.4, indicating a critical severity. While advanced exploitation requires an authenticated session, the low privilege level needed and the time‑based extraction capability make the attack relatively simple for an attacker who gains valid login credentials. Because the EPSS value is currently unavailable and the issue is not listed in the CISA KEV catalog, no known widespread exploitation has been reported, but the high severity rating justifies rapid remediation.

Generated by OpenCVE AI on November 8, 2026 at 14:43 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenEMR to version 8.3.0 or later.
  • If upgrading immediately is not feasible, restrict or remove permission for low‑privileged users to submit fee sheet entries or disable the fee sheet drug‑inventory lookup feature until a patch is applied.
  • Patch input handling by validating or parameterizing the prod[N][warehouse] field to prevent SQL injection in future versions of the application.

Generated by OpenCVE AI on November 8, 2026 at 14:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 08 Nov 2026 13:30:00 +0000

Type Values Removed Values Added
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.
Title OpenEMR before 8.3.0 SQL Injection via Fee Sheet warehouse parameter
First Time appeared Open-emr
Open-emr openemr
Weaknesses CWE-89
CPEs cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Vendors & Products Open-emr
Open-emr openemr
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}


Subscriptions

Open-emr Openemr
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-08T13:15:53.279Z

Reserved: 2026-11-08T02:16:30.558Z

Link: CVE-2026-124469

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-08T14:18:15.130

Modified: 2026-11-08T14:18:15.130

Link: CVE-2026-124469

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-08T17:15:03Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')