---
id: "CVE-2026-124469"
page: "https://infrastack.ai/live/CVE-2026-124469"
kind: "vulnerability"
aliases: ["CVE-2026-124469"]
title: "OpenEMR: Fee Sheet drug lookup lets logged-in users run SQL and extract data"
severity: "critical"
cvss: 9.9
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["healthcare", "openemr", "package", "php", "self-hosted"]
not_affected_if: ["openemr-8.3.0-or-later"]
published_at: "2026-11-08T14:18:15+00:00"
first_seen_at: "2026-11-08T14:48:40+00:00"
updated_at: "2026-11-08T14:48:48+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124469", "first_seen_at": "2026-11-08T14:48:40+00:00"}]
exploit_sources: []
---

# OpenEMR: Fee Sheet drug lookup lets logged-in users run SQL and extract data

Link for people: https://infrastack.ai/live/CVE-2026-124469 (this .md is for agents)

OpenEMR before 8.3.0 builds an ORDER BY clause from the prod[N][warehouse] field in the Fee Sheet drug-inventory lookup without escaping it. A low-privileged logged-in user can use time-based blind SQL injection to extract patient records and bcrypt password hashes.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the OpenEMR version in the install and confirm whether it is below `8.3.0`
- Confirm whether low-privileged users can reach the Fee Sheet pages

## Fix

- OpenEMR: upgrade to `8.3.0` or later

## Timeline

- 2026-11-08T14:48:40+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-124469

## Documents

- [advisory] Vendor advisory: github.com https://github.com/openemr/openemr/security/advisories/GHSA-cg8c-2v5q-29g7
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openemr-before-8.3.0-sql-injection-via-fee-sheet-warehouse-parameter

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
