CVE-2023-22974: A Path Traversal in setup.php in OpenEMR < 7.0.0 allows remote unauthenticated users to read arbitrary files b
CVE-2023-22974 is a high-severity flaw (CVSS 7.5) affecting openemr. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.9% (top 21%) |
| CISA exploited list | No |
| Weakness | CWE-552 |
| Published | 2023-02-22 |
| Last modified | 2026-10-24 |
Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: gbrsh/CVE-2023-22974 (10 stars)
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-22974?
openemr: upgrade to 7.0.0. Exact commands for each OS are on this page.
Is CVE-2023-22974 being exploited?
CVE-2023-22974 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-22974 affect?
CVE-2023-22974 affects openemr. Severity is high (CVSS 7.5). 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.
How urgent is CVE-2023-22974?
Priority 56/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
PHP vulnerabilities · MySQL vulnerabilities
Related CVEs
- CVE-2023-22972 MEDIUM 5.4 UPGRADE A Reflected Cross-site scripting (XSS) vulnerability in interface/forms/eye_mag/php/eye_mag_functions.php in O