OpenEMR before 8.4.0 Arbitrary File Read via REST Document Download
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 8, 2026
- Updated
- Nov 9, 2026
- Reserved
- Nov 8, 2026
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.
| Product | Versions |
|---|---|
| openemr openemr | before 8.4.0 Affected8.4.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.1 High | VulnCheck | |
| 3.1 | 6.5 Medium | VulnCheck |
Weaknesses
- CWE-73 External Control of File Name or Path
References
- GitHub Security Advisory (GHSA-xgxv-36g2-hq5g)Vendor Advisory
- VulnCheck Advisory: OpenEMR before 8.4.0 Arbitrary File Read via REST Document DownloadThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.