Technical impact
Collaborator logged in to OpenEMR can upload a deliberately crafted document that contains an absolute filesystem path, such as the location of sqlconf.php. During download, the system hands this path to Symfony’s BinaryFileResponse, which interprets it as a file path rather than data, allowing the attacker to read the file’s content. The result is that an authenticated user can retrieve arbitrary server files and expose database credentials, compromising confidentiality.
Affected Systems
The vulnerability exists in OpenEMR versions prior to 8.4.0. Any installation consuming the bundled REST document download controller, including the openemr:openemr product, is susceptible. No specific sub‑components or deprecated features were mentioned; the issue applies broadly to all affected releases.
Risk and Exploitability
The CVSS score of 7.1 indicates moderate to high severity. There is no EPSS data available, so exploitation probability cannot be quantified from public metrics. The vulnerability is not listed in CISA’s KEV catalog. Externally, the exploit requires an authenticated session with document upload and download permissions. Classic local file inclusion via REST API could allow attackers to read any file the application can read, which offers significant gain for credential theft and further compromise.