CVE-2026-124450 and 2 related: OpenEMR authentication bypass, SQL injection and path traversal enable patient data theft and RCE

OpenEMR versions before 8.4.0 contain multiple critical flaws: broken access control in the fax/SMS module (CVE-2026-124450), SQL injection in the Fee Sheet drug-inventory lookup (CVE-2026-124469), and weak token validation in the patient portal (CVE-2026-124445). Together these allow low-

Share

OpenEMR, a widely deployed open-source electronic health record system used by clinics, hospitals, and medical practices, contains three critical vulnerabilities across authentication, database access, and file handling. CVE-2026-124450 allows authenticated low-privilege users to read sensitive files and write arbitrary code via path traversal. CVE-2026-124469 permits SQL injection in the Fee Sheet to extract patient data and password hashes. CVE-2026-124445 bypasses patient-portal token revocation and PIN protections, allowing token replay and brute-force attacks.

CVEsCVE-2026-124450 (CVSS 9.9), CVE-2026-124469 (CVSS 9.9), CVE-2026-124445 (CVSS 9.8)
SeverityCritical (highest CVSS 9.9)
Actively exploitedNot confirmed at time of writing
WeaknessCWE-73, CWE-89 (SQL injection), CWE-307
Attack vectorNetwork
Privileges requiredLow
User interactionNone
Published8 Nov 2026

How the attack works

In CVE-2026-124450, the fax/SMS module's disposeDocument action accepts an unvalidated file_path parameter from authenticated users, permitting path traversal to read sqlconf.php (containing database credentials) and write arbitrary files to the web root for code execution. In CVE-2026-124469, the Fee Sheet's drug-inventory lookup interpolates the prod[N][warehouse] POST parameter directly into an ORDER BY SQL clause, allowing low-privilege users to inject time-based blind subqueries to exfiltrate patient records and user password hashes. In CVE-2026-124445, service authentication tokens are never revoked despite enforce_onetime_use and max_access_count flags being set, and the login_pin is checked without rate limiting or strict comparison, enabling attackers with a captured token to replay it indefinitely or brute-force the PIN to access patient portals.

Who is affected

OpenEMR versions 7.0.1 before 8.4.0 are vulnerable to CVE-2026-124445; versions before 8.3.0 are vulnerable to CVE-2026-124450 and CVE-2026-124469. Organizations running any version of OpenEMR in this range—commonly deployed in independent practices, urgent-care facilities, and small to mid-size health systems—are at risk.

How to check if you're exposed

  • Inventory the installed OpenEMR version using admin dashboard or by checking the version file in the installation directory
  • Search application logs for POST requests to fax/SMS disposeDocument actions with suspicious file_path parameters containing ../ or /etc/
  • Monitor database query logs for ORDER BY clauses in Fee Sheet lookups containing SLEEP(), BENCHMARK(), or UNION SELECT subqueries
  • Audit patient-portal authentication logs for repeated failed login attempts or unusual token reuse patterns from single IP addresses

How to fix it

  • Upgrade OpenEMR to version 8.4.0 or later immediately
  • Reset all active service_auth tokens and patient-portal session tokens; require users to re-authenticate
  • Review database access logs for signs of extracted patient data or user credential theft since the last trusted backup
  • Regenerate all database credentials (sqlconf.php) and rotate API keys used by integrated systems

If you can't patch yet

  • Restrict OpenEMR network access to a VPN or private network segment; require multi-factor authentication for patient-portal login
  • Implement Web Application Firewall rules to block requests containing ../ in fax/SMS module parameters and UNION/SELECT keywords in Fee Sheet product fields
  • Enable comprehensive database query logging and set alerts on slow queries (indicators of blind SQL injection attempts); monitor for credential exposure in logs

Need help checking your exposure or patching at scale? FutureOps InfoTech can help.

Read more