llamaCVEVulnerability Intelligence
/
OpenEMR

CVE-2026-126492

OpenEMR second-order SQL injection in dynamic finder

Low-privileged users can store SQL fragments that run as database queries, letting attackers run arbitrary SQL.

Specific setups onlyParche disponibleSQL injection
Descargar PNG JSON
CVSS 4.0
7.1
Alta
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 Fuente: CNA
8.8NVD · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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-126492 divulgada · CVSS 7.1 (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

OpenEMR before 8.5.0 contains a second-order sql injection vulnerability that allows low-privileged authenticated users to store malicious SQL via library/ajax/addlistitem.php. Attackers can persist a SQL fragment in the recent_patient_columns option_id value, which dynamic_finder.php concatenates into a SELECT query and executes as SQL.

Affects OpenEMR versions before 8.5.0, where a low-privileged authenticated user can store a malicious SQL fragment in the recent_patient_columns list via library/ajax/addlistitem.php. Fixed in 8.5.0.

¿Qué significa?A stored value is later used by the application as SQL structure, so attacker-controlled data gets executed as SQL. This is a second-order SQL injection, because the malicious input is saved first and the SQL runs later when the stored value is used.
¿Quién está afectado?The affected versions are OpenEMR releases before 8.5.0. The affected setup involves the option_id column of the list_options table where list_id is recent_patient_columns, which is written through library/ajax/addlistitem.php. Check the OpenEMR version in the installation to see whether it is below 8.5.0.
¿Qué hacer?Upgrade to OpenEMR 8.5.0 or later, which is the listed fixed version. The facts do not list vendor patch identifiers for this issue.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
OpenEMR versions before 8.5.0“Affected versions < 8.5.0”
02
Attacker stores a malicious SQL fragment in the option_id column of list_options where list_id is recent_patient_columns, via library/ajax/addlistitem.php“store a malicious SQL fragment in the option_id column of the list_options table where list_id='recent_patient_columns'”
¿Quién debe revisar?Teams running OpenEMR before 8.5.0, including healthcare organizations hosting OpenEMR for clinical staff with low-privileged logins.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · NVD
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
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-hrf6-qx6w-vgh9
Otrahttps://www.vulncheck.com/advisories/openemr-before-8.5.0-second-order-sql-injection-via-dynamic-finder-php

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