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.
References
| Link | Resource |
|---|---|
| https://github.com/openemr/openemr/commit/943e23cad6e979f87cdf168807fce2a7b32dd194 | Patch |
| https://github.com/openemr/openemr/security/advisories/GHSA-rcc2-45v3-qmqm | Exploit Vendor Advisory |
| https://github.com/openemr/openemr/security/advisories/GHSA-rcc2-45v3-qmqm | Exploit Vendor Advisory |
Configurations
History
27 Feb 2026, 14:42
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:* | |
| First Time |
Open-emr openemr
Open-emr |
|
| References | () https://github.com/openemr/openemr/commit/943e23cad6e979f87cdf168807fce2a7b32dd194 - Patch | |
| References | () https://github.com/openemr/openemr/security/advisories/GHSA-rcc2-45v3-qmqm - Exploit, Vendor Advisory |
26 Feb 2026, 17:23
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/openemr/openemr/security/advisories/GHSA-rcc2-45v3-qmqm - |
25 Feb 2026, 19:43
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-02-25 19:43
Updated : 2026-02-27 14:42
NVD link : CVE-2026-24908
Mitre link : CVE-2026-24908
CVE.ORG link : CVE-2026-24908
JSON object : View
Products Affected
open-emr
- openemr
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
