CVE-2026-124479OpenEMR before 8.4.0 Arbitrary File Read via REST Document Download
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- GitHub Security Advisory (GHSA-xgxv-36g2-hq5g) vendor-advisoryExploitVendor Advisory
- VulnCheck Advisory: OpenEMR before 8.4.0 Arbitrary File Read via REST Document Download third-party-advisoryThird Party Advisory
CPE matches (NVD) (1)
cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*< 8.4.0