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.
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| openemr | openemr | < 8.4.0 |
References
- https://github.com/openemr/openemr/security/advisories/GHSA-xgxv-36g2-hq5gExploit, Vendor Advisory
- https://www.vulncheck.com/advisories/openemr-before-8.4.0-arbitrary-file-read-via-rest-document-downloadThird Party Advisory
- https://github.com/openemr/openemr/security/advisories/GHSA-xgxv-36g2-hq5gExploit, Vendor Advisory
Timeline
- Published
- Nov 8, 2026
- Last modified
- Nov 17, 2026
- NVD status
- Analyzed