CVE-2026-124479 OpenEMR before 8.4.0 Arbitrary File Read via REST Document Download
HighCVSS 7.1
EPSS 0.36%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- PHP
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| open-emr openemr | < 8.4.0 | 8.4.0 | Fixed |
| openemr | < 8.4.0 | 8.4.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openemr | < 8.4.0 | 8.4.0 |
| open-emr openemr | < 8.4.0 | 8.4.0 |
References
- GitHub Security Advisory (GHSA-xgxv-36g2-hq5g) exploit vendor-advisory
- VulnCheck Advisory: OpenEMR before 8.4.0 Arbitrary File Read via REST Document Download third-party-advisory
- ENISA EUVD EUVD-2026-119534 third-party-advisory