CVE-2026-124469

OpenEMR before 8.3.0 SQL Injection via Fee Sheet warehouse parameter

Published Nov 8, 2026 CVSS 4.0 · 9.4 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

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'}

Weaknesses
  • CWE-89

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 10, 2026, 5:54 PM
Reserved
Nov 8, 2026, 2:16 AM
Status
Analyzed
Published
Nov 8, 2026, 2:18 PM
Modified
Nov 17, 2026, 6:45 PM