6.5Medium

CVE-2026-124479OpenEMR before 8.4.0 Arbitrary File Read via REST Document Download

openemr openemr Published: (11 days ago)

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.

Weakness (CWE): CWE-73

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
open-emr openemr < 8.4.0
openemr openemr < 8.4.0, fixed 8.4.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:* < 8.4.0