CVE-2026-24908 CRITICAL

CVE-2026-24908: OpenEMR has SQL Injection in Patient API Sort Parameter

Vendor Openemr
Product openemr
Weakness CWE-89 · SQLi
Published February 25, 2026
Last update February 26, 2026

CVSS base score

10.0/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

February 25, 2026 CVE published
February 26, 2026 Record updated