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.
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
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| 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 |
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.
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.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
openemr |
Corregida | 8.5.0 | — | — |
8.5.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/openemr/openemr/security/advisories/GHSA-g2xw-rvhq-x543https://www.vulncheck.com/advisories/openemr-before-8.5.0-sql-injection-via-onsitedocument-query-bitwiseandLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
