CVE-2026-124468

OpenEMR before 8.3.0 SQL Injection via Patient Insurance and Employer REST API

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

Analysis

AI-generated

Technical impact

OpenEMR versions prior to 8.3.0 suffer from an SQL injection flaw in the Standard REST API endpoints that handle patient insurance and employer searches. The vulnerability arises because the code concatenates query‑string parameter names directly into the SQL query as column identifiers without proper escaping, allowing an attacker to inject arbitrary SQL statements. As a result, an attacker can extract personal health information, user account data, and even API client secrets tied to the platform.

Affected Systems

This issue affects the OpenEMR software suite, specifically any deployment using OpenEMR before version 8.3.0. The affected component is the patient insurance and employer search endpoint of the REST API. Users of older OpenEMR installations, especially those that expose these endpoints to authenticated clients, are at risk.

Risk and Exploitability

The CVSS base score is 7.1, indicating serious confidentiality and integrity threats. The EPSS score is not available, so the current exploit probability is unspecified, but the flaw is publicly documented and exploit code could be trivial for an authenticated user. Attackers need authenticated access, including low‑privilege patient‑portal OAuth2 tokens, to send crafted parameter names to /api/patient/{puuid}/insurance or /api/patient/{puuid}/employer. The vulnerability is not listed in CISA's KEV catalog, suggesting no known large‑scale exploitation yet, but the high impact warrants prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenEMR to version 8.3.0 or later to contain the patched API logic
  • Restrict or disable the patient insurance and employer endpoints for low‑privilege OAuth2 tokens until the upgrade is applied
  • Validate all query‑string parameters on the server side to prevent direct insertion into SQL statements

Generated by OpenCVE AI on November 8, 2026 at 14:44 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': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title OpenEMR before 8.3.0 SQL Injection via Patient Insurance and Employer REST API
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': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N'}

cvssV4_0

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

Weaknesses
  • CWE-89

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 12, 2026, 1:48 PM
Reserved
Nov 8, 2026, 2:16 AM
Status
Analyzed
Published
Nov 8, 2026, 2:18 PM
Modified
Nov 20, 2026, 9:19 PM