# CVE-2023-22974: A Path Traversal in setup.php in OpenEMR < 7.0.0 allows remote unauthenticated users to read arbitrary files by controlling a connection to…

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A: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): 1.89%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-02-22T00:00:00.000Z
- Modified: 2026-10-24T13:10:00.147Z
- Weaknesses: CWE-552
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- open-emr openemr: before 7.0.0

## References

- <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)

## Sources

- CVE List: [CVE-2023-22974](https://www.cve.org/CVERecord?id=CVE-2023-22974), CVE Terms of Use, modified 2025-03-12
- NVD: [CVE-2023-22974](https://nvd.nist.gov/vuln/detail/CVE-2023-22974), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2023-22974 · Whole record: https://cve.day/CVE-2023-22974.json · Rebuilt by cve.day 2026-11-25T22:58:22.111Z
