CVE-2026-124479

OpenEMR before 8.4.0 Arbitrary File Read via REST Document Download

High published · updated

7.1
CVSS score out of 10 · NVD (vulncheck.com)

Description

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 products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
openemr openemr 0 → <8.4.08.4.0 CVE.org
openemr open-emr <8.4.08.4.0 NVD

References