Skip to main content
← Vulnerabilities

OpenEMR before 8.4.0 Arbitrary File Read via REST Document Download

Affects OpenEMR before 8.4.0 for authenticated users with document upload and download access. Fixed in 8.4.0.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

7.1HighCNA
Exploited
No known exploitation
Fix
Fixed in 8.4.0
Who is exposed
Specific setups only

Do first: Check whether your setup matches what the bug needs. OpenEMR versions before 8.4.0 Attacker needs document upload and download access

Published
Last modified
15/100 · provisional
Specific setups only
None on Exploit-DB, Metasploit or GitHub

Summary

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.

cve.now Index

15Pcve.now Index 15 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure8/25Specific setups only, reachable over the network
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity7.1/10CVSS 7.1
  • No patch0/5No signal

What would change the score

  • Would score about 65 if added to CISA KEV
  • Would score about 60 if CISA's SSVC rates exploitation active
  • Would score about 22 if CISA's SSVC rates it automatable

What to do

  • Check whether your setup matches what the bug needs.

    OpenEMR versions before 8.4.0 Attacker needs document upload and download access
  • Upgrade to a fixed version: 8.4.0.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • openemr openemr

    fixed in 8.4.0

Evidence 2

  1. Advisory
  2. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-124479

Is CVE-2026-124479 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

What does this mean?

An authenticated user with document upload and download access can use the REST document download to read files on the server. The stated impact includes reading sqlconf.php, recovering database credentials, and broader patient data compromise.Source: vulncheck.com, github.com

Which versions are affected by CVE-2026-124479?

openemr: before 8.4.0.Source: cve.now feed data

Am I affected, and how do I check?

The listed range is OpenEMR versions before 8.4.0. The stated condition is an authenticated user with document upload and download access, so installs in that range where such users exist fall within the reported scope.Source: vulncheck.com, github.com

How do I fix CVE-2026-124479?

Upgrade OpenEMR to 8.4.0, the listed fixed version. The facts list no workaround.Source: vulncheck.com, github.com