---
id: "CVE-2026-124468"
page: "https://infrastack.ai/live/CVE-2026-124468"
kind: "vulnerability"
aliases: ["CVE-2026-124468"]
title: "OpenEMR: REST API insurance search lets authenticated users run SQL"
severity: "high"
cvss: 7.1
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["healthcare", "openemr", "other", "patient-data", "rest-api"]
not_affected_if: ["openemr-8.3.0-or-later", "rest-api-disabled"]
published_at: "2026-11-08T14:18:14+00:00"
first_seen_at: "2026-11-08T14:48:40+00:00"
updated_at: "2026-11-08T14:49:39+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124468", "first_seen_at": "2026-11-08T14:48:40+00:00"}]
exploit_sources: []
---

# OpenEMR: REST API insurance search lets authenticated users run SQL

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

OpenEMR's Standard REST API builds SQL from query-string parameter names in its patient insurance and employer search without escaping them. An authenticated client, including a low-privilege patient-portal token, can read patient health records, user records and API client secrets.

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

## How to check

- Check the OpenEMR version in the installation; the sources say versions before `8.3.0` are affected
- Look for patient-portal OAuth2 clients and API access enabled on the Standard REST API

## 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-124468

## Documents

- [advisory] Vendor advisory: github.com https://github.com/openemr/openemr/security/advisories/GHSA-fhc4-8f9p-8mcc
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openemr-before-8.3.0-sql-injection-via-patient-insurance-and-employer-rest-api
- [fix] Patch: github.com https://github.com/openemr/openemr/commit/e51b0ff9e5b62d43d499d0cd0425290c29ed1212

## From the sources

OpenEMR before 8.3.0 contains an SQL injection vulnerability in the Standard REST API patient insurance and employer search, which concatenates query-string parameter names into SQL as column identifiers without escaping. Authenticated clients, including low-privilege patient-portal OAuth2 tokens, can send crafted parameter names to /api/patient/{puuid}/insurance or /api/patient/{puuid}/employer to extract patient PHI, user records, and API client secrets.

---

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