Home

Description

OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0, an SQL injection vulnerability in the Patient REST API endpoint allows authenticated users with API access to execute arbitrary SQL queries through the `_sort` parameter. This could potentially lead to database access, PHI (Protected Health Information) exposure, and credential compromise. The issue occurs when user-supplied sort field names are used in ORDER BY clauses without proper validation or identifier escaping. Version 8.0.0 fixes the issue.

PUBLISHED Reserved 2026-01-27 | Published 2026-02-25 | Updated 2026-02-26 | Assigner GitHub_M




CRITICAL: 10.0CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Problem types

CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Product status

< 8.0.0
affected

References

github.com/...penemr/security/advisories/GHSA-rcc2-45v3-qmqm exploit

github.com/...penemr/security/advisories/GHSA-rcc2-45v3-qmqm

github.com/...ommit/943e23cad6e979f87cdf168807fce2a7b32dd194

cve.org (CVE-2026-24908)

nvd.nist.gov (CVE-2026-24908)

Download JSON