CVE-2026-126492: OpenEMR before 8.5.0 Second-Order SQL Injection via dynamic_finder.php

Published Nov 13, 2026
·
Updated

OpenEMR before 8.5.0 contains a second-order sql injection vulnerability that allows low-privileged authenticated users to store malicious SQL via library/ajax/addlistitem.php. Attackers can persist a SQL fragment in the recentpatientcolumns optionid value, which dynamicfinder.php concatenates into a SELECT query and executes as SQL.

Affected Software

2 affected components
OpenEMR OpenEMR<8.5.0
open-emr Openemr<8.5.0

Event History

Nov 13, 2026
CVE Published
via MITRE·09:34 AM
Data Sourced
via MITRE·09:34 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs an authenticated OpenEMR account with low privileges. No user interaction is required after the attacker stores the malicious value.

2

Which component and stored value should be investigated for signs of exploitation?

Investigate requests to library/ajax/addlistitem.php and review stored option_id values associated with recent_patient_columns. The vulnerable path occurs when dynamic_finder.php later concatenates that stored value into a SELECT query.

3

What is the fixed version?

The issue affects OpenEMR versions before 8.5.0. Upgrade to version 8.5.0 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203