SQL injection in OpenEMR - CVE-2026-24908
Published: April 23, 2026
OpenEMR
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary SQL queries.
The vulnerability exists due to SQL injection in the Patient REST API endpoint _sort parameter handling when processing user-supplied _sort query parameters. A remote user can send a specially crafted API request to execute arbitrary SQL queries.
Exploitation requires valid API access with an OAuth2 bearer token, and the REST API must be enabled.