---
id: CVE-2026-124469
title: OpenEMR before 8.3.0 SQL Injection via Fee Sheet warehouse parameter
summary: >-
  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 us…
severity: critical
cvss: 9.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-89
vendor: openemr
product: openemr
affected:
  - openemr < 8.3.0
published: '2026-11-08'
updated: '2026-11-08'
sourceUpdated: '2026-11-08T13:15:53.279Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-124469'
references:
  - url: 'https://github.com/openemr/openemr/security/advisories/GHSA-cg8c-2v5q-29g7'
    label: GitHub Security Advisory (GHSA-cg8c-2v5q-29g7)
  - url: >-
      https://www.vulncheck.com/advisories/openemr-before-8.3.0-sql-injection-via-fee-sheet-warehouse-parameter
    label: >-
      VulnCheck Advisory: OpenEMR before 8.3.0 SQL Injection via Fee Sheet
      warehouse parameter
tags:
  - cve.org
ingestedAt: '2026-11-08T13:50:34.970Z'
---

## Overview

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.

## Affected

- `openemr < 8.3.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
