CVE-2026-126492 OpenEMR before 8.5.0 Second-Order SQL Injection via dynamic_finder.php
HighCVSS 7.1
EPSS 0.36%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHP
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| open-emr openemr | < 8.5.0 | 8.5.0 | Fixed |
| openemr | < 8.5.0 | 8.5.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openemr | < 8.5.0 | 8.5.0 |
| open-emr openemr | < 8.5.0 | 8.5.0 |
References
- GitHub Security Advisory (GHSA-hrf6-qx6w-vgh9) vendor-advisory
- VulnCheck Advisory: OpenEMR before 8.5.0 Second-Order SQL Injection via dynamic_finder.php third-party-advisory
- ENISA EUVD EUVD-2026-125132 third-party-advisory