CVE-2026-24908 Details
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.
A SQL injection vulnerability has been identified in the Patient REST API endpoint of OpenEMR, prior to version 8.0.0. This vulnerability allows authenticated users with API access to execute arbitrary SQL queries through the '_sort' parameter. The issue arises because user-supplied sort field names are incorporated into ORDER BY clauses without adequate validation or escaping, potentially leading to unauthorized database access, exposure of Protected Health Information (PHI), and compromise of user credentials.
Users can update to OpenEMR version 8.0.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/openemr/openemr/security/advisories/GHSA-rcc2-45v3-qmqm | CISA-ADP | ExploitVendor Advisory |
| https://github.com/openemr/openemr/commit/943e23cad6e979f87cdf168807fce2a7b32dd194 | [email protected] | Patch |
| https://github.com/openemr/openemr/security/advisories/GHSA-rcc2-45v3-qmqm | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| open-emr openemr | < 8.0.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 27, 2026 | Initial Analysis | [email protected] |
| Feb 26, 2026 | CVE Modified | CISA-ADP |
| Feb 25, 2026 | New CVE Received | [email protected] |