OpenEMR
OpenEMR Arbitrary File Read Vulnerability
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 7.0.4, the `disposeDocument()` method in `EtherFaxActions.php` allows authenticated users to read arbitrary files from the server filesystem. Any authenticated user (regardless of privilege level) can exploit this vulnerability to read sensitive files. Version 7.0.4 patches the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 7.0.4
Fixed in 7.0.4
Mitigation
Upgrade openemr to 7.0.4 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 101 days after publication; not in CISA KEV. First PoC: doany1/CVE-2026-24849 (created 6 Jun 2026, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs · 1 informational
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| doany1/CVE-2026-24849 | 6 Jun 2026 +101 d | 0 | PoC |
| exposelabniu/AMENDER-2026 | 28 Sep 2026 +215 d | 0 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Informational 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| exposelabniu/AMENDER-pipeline | 16 Oct 2026 +233 d | 14 Nov 2026 | 0 | Informational · list
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | OpenEMR 7.0.2 - Arbitrary File Read | 8 Jun 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 2 PoC reposGET /interface/login/login.php
- Query
site=site=default- Ports
- 8080
- Seen in
- 2 repos: doany1/CVE-2026-24849, exposelabniu/AMENDER-2026
- Evidence
- doany1/CVE-2026-24849/CVE-2026-24849.py:33 exposelabniu/AMENDER-2026/logs/llm/cve_2026_24849_file_read.py:77 exposelabniu/AMENDER-2026/logs/llm/cve_2026_24849_original_poc.py:79 exposelabniu/AMENDER-2026/logs/llm/cve_2026_33305_save_setup.py:11 exposelabniu/AMENDER-2026/src/poc/cve_2026_24849_file_read.py:77 exposelabniu/AMENDER-2026/src/poc/cve_2026_24849_original_poc.py:79
GET /interface/modules/custom_modules/oe-module-faxsms/index.php
- Query
site=type=fax_ACTION_COMMAND=file_path=action=downloadsite=default_ACTION_COMMAND=saveSetupusername=CLAUDE_TEST_CANARY_0905password=CLAUDE_TEST_CANARY_0905key=CLAUDE_TEST_CANARY_0905secret=CLAUDE_TEST_CANARY_0905- Ports
- 8080
- Seen in
- 2 repos: doany1/CVE-2026-24849, exposelabniu/AMENDER-2026
- Evidence
- doany1/CVE-2026-24849/CVE-2026-24849.py:56 exposelabniu/AMENDER-2026/logs/llm/cve_2026_24849_file_read.py:100 exposelabniu/AMENDER-2026/logs/llm/cve_2026_24849_original_poc.py:102 exposelabniu/AMENDER-2026/logs/llm/cve_2026_33305_save_setup.py:24 exposelabniu/AMENDER-2026/src/poc/cve_2026_24849_file_read.py:100 exposelabniu/AMENDER-2026/src/poc/cve_2026_24849_original_poc.py:102
POST /interface/main/main_screen.php
- Query
auth=loginsite=site=default- Body markers
new_login_session_management=1authProvider=DefaultauthUser=clearPass=languageChoice=1inapplication/x-www-form-urlencoded- Ports
- 8080
- Seen in
- 2 repos: doany1/CVE-2026-24849, exposelabniu/AMENDER-2026
- Evidence
- doany1/CVE-2026-24849/CVE-2026-24849.py:48 exposelabniu/AMENDER-2026/logs/llm/cve_2026_24849_file_read.py:92 exposelabniu/AMENDER-2026/logs/llm/cve_2026_24849_original_poc.py:94 exposelabniu/AMENDER-2026/logs/llm/cve_2026_33305_save_setup.py:12 exposelabniu/AMENDER-2026/src/poc/cve_2026_24849_file_read.py:92 exposelabniu/AMENDER-2026/src/poc/cve_2026_24849_original_poc.py:94
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/interface/login/login\.php\?(?:.*&)?site=.*site=default
(?i)^/interface/modules/custom_modules/oe-module-faxsms/index\.php\?(?:.*&)?site=.*type=fax.*_ACTION_COMMAND=.*file_path=.*action=download.*site=default.*_ACTION_COMMAND=saveSetup.*username=CLAUDE_TEST_CANARY_0905.*password=CLAUDE_TEST_CANARY_0905.*key=CLAUDE_TEST_CANARY_0905.*secret=CLAUDE_TEST_CANARY_0905
(?i)^/interface/main/main_screen\.php\?(?:.*&)?auth=login.*site=.*site=default
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-24849 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/interface/login/login.php"; http.uri; content:"site="; http.uri; content:"site=default"; reference:url,poc.griffinguard.io/cve/CVE-2026-24849; classtype:web-application-attack; sid:9783322; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-24849 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/interface/modules/custom_modules/oe-module-faxsms/index.php"; http.uri; content:"site="; http.uri; content:"type=fax"; http.uri; content:"_ACTION_COMMAND="; http.uri; content:"file_path="; http.uri; content:"action=download"; http.uri; content:"site=default"; http.uri; content:"_ACTION_COMMAND=saveSetup"; http.uri; content:"username=CLAUDE_TEST_CANARY_0905"; http.uri; content:"password=CLAUDE_TEST_CANARY_0905"; http.uri; content:"key=CLAUDE_TEST_CANARY_0905"; http.uri; content:"secret=CLAUDE_TEST_CANARY_0905"; reference:url,poc.griffinguard.io/cve/CVE-2026-24849; classtype:web-application-attack; sid:9699960; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-24849 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/interface/main/main_screen.php"; http.uri; content:"auth=login"; http.uri; content:"site="; http.uri; content:"site=default"; http.request_body; content:"new_login_session_management=1"; http.request_body; content:"authProvider=Default"; http.request_body; content:"authUser="; http.request_body; content:"clearPass="; http.request_body; content:"languageChoice=1"; reference:url,poc.griffinguard.io/cve/CVE-2026-24849; classtype:web-application-attack; sid:9494721; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: openemr openemr exploit attempt (CVE-2026-24849)
id: gg-pocmon-cve-2026-24849-9783322
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-24849. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-24849
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/interface/login/login.php'
cs-uri-query|contains|all:
- 'site='
- 'site=default'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.24849
title: openemr openemr exploit attempt (CVE-2026-24849)
id: gg-pocmon-cve-2026-24849-9699960
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-24849. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-24849
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/interface/modules/custom_modules/oe-module-faxsms/index.php'
cs-uri-query|contains|all:
- 'site='
- 'type=fax'
- '_ACTION_COMMAND='
- 'file_path='
- 'action=download'
- 'site=default'
- '_ACTION_COMMAND=saveSetup'
- 'username=CLAUDE_TEST_CANARY_0905'
- 'password=CLAUDE_TEST_CANARY_0905'
- 'key=CLAUDE_TEST_CANARY_0905'
- 'secret=CLAUDE_TEST_CANARY_0905'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.24849
title: openemr openemr exploit attempt (CVE-2026-24849)
id: gg-pocmon-cve-2026-24849-9494721
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-24849. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-24849
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/interface/main/main_screen.php'
cs-uri-query|contains|all:
- 'auth=login'
- 'site='
- 'site=default'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.24849