NetSight
high7.1

CVE-2026-124479

OpenEMR before 8.4.0 contains an arbitrary local file read vulnerability in REST document download, where the controller passes stored uploaded document bytes …

Impact

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.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read.

Affected products · Openemr

ProductAffected versions
Openemr
before 8.4.0

Weakness classification

References