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

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-11-13T09:34:43.205Z
- Modified: 2026-11-13T19:34:36.513Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- openemr openemr: before 8.5.0 (not affected: 8.5.0)
- open-emr openemr: before 8.5.0

## Every score

- VulnCheck: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/openemr/openemr/security/advisories/GHSA-hrf6-qx6w-vgh9> (vendor-advisory)
- <https://www.vulncheck.com/advisories/openemr-before-8.5.0-second-order-sql-injection-via-dynamic-finder-php> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-126492](https://www.cve.org/CVERecord?id=CVE-2026-126492), CVE Terms of Use, modified 2026-11-13
- NVD: [CVE-2026-126492](https://nvd.nist.gov/vuln/detail/CVE-2026-126492), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-126492 · Whole record: https://cve.day/CVE-2026-126492.json · Rebuilt by cve.day 2026-11-25T22:59:50.671Z
