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…
- Source:
- NVD CVE API 2.0
- Published:
- Fetched:
- Updated:
- Affects:
- php
https://nvd.nist.gov/vuln/detail/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 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. References: https://github.com/openemr/openemr/security/advisories/GHSA-xgxv-36g2-hq5g https://www.vulncheck.com/advisories/openemr-before-8.4.0-arbitrary-file-read-via-rest-document-download https://github.com/openemr/openemr/security/advisories/GHSA-xgxv-36g2-hq5g