high7.1
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…
Impact
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.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read, low risk of data or systems being changed.
Affected products · Openemr
| Product | Affected versions |
|---|---|
| Openemr | before 8.5.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/openemr/openemr/security/advisories/GHSA-hrf6-qx6w-vgh9
- https://www.vulncheck.com/advisories/openemr-before-8.5.0-second-order-sql-injection-via-dynamic-finder-php
- https://github.com/advisories/GHSA-p5cj-hhx3-3982
- https://nvd.nist.gov/vuln/detail/CVE-2026-126492