---
id: CVE-2026-126430
title: OpenEMR before 8.5.0 SQL Injection via CCR revandapprove Field Names
summary: >-
  OpenEMR before 8.5.0 contains a SQL injection vulnerability that allows any
  authenticated core user to inject SQL by supplying crafted patient_data field
  names to the CCR revandapprove controller. Attackers can embed scalar
  subqueries in…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'
cvssSource: cna
cwe:
  - CWE-89
vendor: openemr
product: openemr
affected:
  - openemr < 8.5.0
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-11-17T14:29:14.428890Z'
exploitAvailable: true
published: '2026-11-13'
updated: '2026-11-20'
sourceUpdated: '2026-11-20T12:29:28.792Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-126430'
references:
  - url: 'https://github.com/openemr/openemr/security/advisories/GHSA-wh28-4qcg-5hcc'
    label: GitHub Security Advisory (GHSA-wh28-4qcg-5hcc)
  - url: >-
      https://www.vulncheck.com/advisories/openemr-before-8.5.0-sql-injection-via-ccr-revandapprove-field-names
    label: >-
      VulnCheck Advisory: OpenEMR before 8.5.0 SQL Injection via CCR
      revandapprove Field Names
tags:
  - cve.org
  - exploit-available
epss: 0.00356
epssPercentile: 0.29679
ingestedAt: '2026-11-13T10:36:39.545Z'
---

## Overview

OpenEMR before 8.5.0 contains a SQL injection vulnerability that allows any authenticated core user to inject SQL by supplying crafted patient_data field names to the CCR revandapprove controller. Attackers can embed scalar subqueries in the UPDATE patient_data SET clause to read staff password hashes and portal reset values, alter arbitrary patient demographics, and take over patient-portal accounts.

## Affected

- `openemr < 8.5.0`

## Remediation

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