A Path Traversal in setup.php in OpenEMR < 7.0.0 allows remote unauthenticated users to read arbitrary files by controlling a connection to an attacker-controlled MySQL server.
Fix
Public exploits 1
- gbrsh/CVE-2023-22974 PoC on GitHub
Each line links to the index that lists it, never to exploit code. Exploit-DB's "verified" and a Metasploit rank of good or better count as verified; a PoC-in-GitHub entry is a repository's claim.
Patch, vendor advisory and mitigation references on NVD 2
- https://www.open-emr.org/wiki/index.php/OpenEMR_Patches#7.0.0_Patch_.2811.2F30.2F22.29 Patch, Release Notes
- https://www.open-emr.org/wiki/index.php/OpenEMR_Patches#7.0.0_Patch_.2811.2F30.2F22.29 Patch, Release Notes
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.5 · open-emrNVD modified 2026-10-24 13:10
Affected (CPE criteria) 1
cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
References 4
- https://www.open-emr.org/wiki/index.php/OpenEMR_Patches#7.0.0_Patch_.2811.2F30.2F22.29 Patch, Release Notes
- https://www.sonarsource.com/blog/openemr-remote-code-execution-in-your-healthcare-system/ Exploit, Third Party Advisory
- https://www.open-emr.org/wiki/index.php/OpenEMR_Patches#7.0.0_Patch_.2811.2F30.2F22.29 Patch, Release Notes
- https://www.sonarsource.com/blog/openemr-remote-code-execution-in-your-healthcare-system/ Exploit, Third Party Advisory