SQL Injection in Open-Emr Openemr
CVE-2026-126492
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 recent_patient_columns option_id value, which dynamic_finder.php concatenates into a SELECT query and executes as SQL.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N.
EPSS exploit prediction
EPSS 0.004, 30.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/openemr/openemr/security/advisories/GHSA-hrf6-qx6w-vgh9 (vendor-advisory, Vendor Advisory)
- www.vulncheck.com/advisories/openemr-before-8.5.0-second-order-sql-injection-vi… (Third Party Advisory, third-party-advisory)