CVE-2025-29789 OpenEMR Has Directory Traversal in Load Code feature
Attackers can exploit a directory traversal flaw in the Load Code feature to read arbitrary files from the server.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-29789?
CVE-2025-29789 is a medium-severity path traversal vulnerability in Open-Emr Openemr, published on 25 Mar 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
OpenEMR is a free and open source electronic health records and medical practice management application. Versions prior to 7.3.0 are vulnerable to Directory Traversal in the Load Code feature. Version 7.3.0 contains a patch for the issue.
Which versions are affected by CVE-2025-29789?
It affects 1 product.
Products include Open-Emr Openemr.
How do I fix CVE-2025-29789?
No fix has been published for CVE-2025-29789 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-29789 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-29789 exists.
Other vulnerabilities in Open-Emr Openemr
- CVE-2026-24898 OpenEMR has an Unauthenticated MedEx Token Disclosure
- CVE-2026-24849 OpenEMR Arbitrary File Read Vulnerability
- CVE-2026-24908 OpenEMR has SQL Injection in Patient API Sort Parameter
- CVE-2022-2734 Improper Restriction of Rendered UI Layers or Frames in openemr/openemr
- CVE-2024-22611 SQL injection in n/a
Sources
Also known as GHSA-ffpq-2wqj-v8ff.