llamaCVEVulnerability Intelligence
/
OpenEMR

CVE-2026-126488

OpenEMR patient data exposure via SQL injection in OnsiteDocument

Logged-in patients can read other patients' records and users' password hashes through crafted requests.

Specific setups onlyParche disponibleSQL injection
Descargar PNG JSON
CVSS 4.0
8.3
Alta
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión8.5.0
Exposición6 dDesde la divulgación, 13 nov 2026, 4:34 a. m.
Detección31 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Monitoreo
Detectada +1
Fuente: OSV
Verificada
13 nov 26
15 nov 26
16 nov 26
19 nov 26
13 nov 26
14 nov 26
16 nov 26
18 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-126488 divulgada · CVSS 8.3 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 13 nov 2026

Authenticated patients of the OpenEMR patient portal (before version 8.5.0) can remotely send crafted requests to the OnsiteDocument.Query endpoint, which is not properly protected against SQL injection. This lets them read data beyond their own records, including other patients' demographics and users' password hashes.

Only affects OpenEMR before 8.5.0 with the Patient Portal enabled (portal_onsite_two_enable=1). Fixed in 8.5.0.

¿Qué significa?A flaw in the OnsiteDocument.Query _BitwiseAnd handling lets an authenticated patient portal user send crafted requests that read the whole OpenEMR database. The advisory says this includes other patients' demographics and staff and admin password hashes.
¿Quién está afectado?The advisory covers OpenEMR versions before 8.5.0, and names 8.1.0 and earlier as the affected releases. The setup involved is the Patient Portal being enabled with portal_onsite_two_enable=1, so check that setting and the installed OpenEMR version.
¿Qué hacer?Upgrade OpenEMR to 8.5.0 or later, which is the listed fixed version. The facts give no separate vendor patch identifiers for this issue.
Descripción original del registro (VulnCheck)

OpenEMR before 8.5.0 contains an SQL injection vulnerability in the patient portal OnsiteDocument.Query endpoint, where mass-assigned _BitwiseAnd criteria parameters are placed unquoted into SQL with only quote-character escaping. Authenticated portal patients can inject SQL outside their per-patient scope to read the entire database, including other patients' demographics and users_secure password hashes.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Patient Portal enabled (portal_onsite_two_enable=1)“the Patient Portal is enabled ( portal_onsite_two_enable=1 )”
02
OpenEMR 8.1.0 and earlier, per the advisory body“openemr/openemr, <= 8.1.0 (current release as of 2026-06-13)”
¿Quién debe revisar?Teams running OpenEMR before 8.5.0 with the Patient Portal enabled, including patient-facing deployments.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:H
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
openemr< 8.5.0
8.5.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
openemr
Corregida 8.5.0 — —
Versiones corregidas8.5.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/openemr/openemr/security/advisories/GHSA-g2xw-rvhq-x543
Otrahttps://www.vulncheck.com/advisories/openemr-before-8.5.0-sql-injection-via-onsitedocument-query-bitwiseand

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.