GHSA-xgxv-36g2-hq5g: OpenEMR before 8.4.0 Arbitrary File Read via REST Document Download

Published Nov 8, 2026
·
Updated

OpenEMR before 8.4.0 contains an arbitrary local file read vulnerability in REST document download, where the controller passes stored uploaded document bytes to Symfony's BinaryFileResponse as a filesystem path instead of returning them as content. Authenticated users with document upload and download access can upload a document containing an absolute pathname, such as the sqlconf.php location, then download it to read server files and recover database credentials.

Affected Software

1 affected component
OpenEMR OpenEMR<8.4.0

Event History

Nov 8, 2026
CVE Published
via OSV·01:15 PM
Data Sourced
via OSV·01:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated OpenEMR user needs both document upload and document download access. The issue is therefore most relevant where these permissions are granted to users who should not be able to read arbitrary files from the server.

2

What does an attacker need to do to read a server file?

The attacker uploads a document whose contents are an absolute filesystem path to a target file, then downloads that document through the REST document download functionality. If the application can access the referenced file, its contents are returned instead of the uploaded document content.

3

What is the potential impact of successful exploitation?

An attacker can read arbitrary local files accessible to the OpenEMR process. The advisory specifically identifies sqlconf.php as a target that can expose database credentials.

4

How can I remediate the issue?

Upgrade OpenEMR to version 8.4.0 or later. The affected versions are OpenEMR releases before 8.4.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203