Path traversal in OpenEMR - CVE-2026-25928
Published: April 30, 2026
OpenEMR
Detailed vulnerability description
The vulnerability allows a remote user to write files outside the intended directory.
The vulnerability exists due to path traversal in controllers/C_Document.class.php upload_action_process() and zip_dicom_folder() when processing a user-supplied destination parameter during DICOM folder zip export. A remote user can submit a specially crafted destination value containing traversal sequences to write files outside the intended directory.
If files are written under the web root, this may enable remote code execution. The issue affects the DICOM zip/export feature and requires DICOM upload/export permission.