OpenEMR ≤ 4.1.1 SQL Injection Privilege Escalation and RCE
Published Aug 1, 2025
8.7
HIGHCVSS 4.0
EPSS 1.98%
Description
An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to extract administrator credentials and subsequently escalate privileges. Once elevated, the attacker can exploit an unrestricted file upload flaw to achieve remote code execution, resulting in full compromise of the application and its host system.
Affected products
-
- Version 0StatusaffectedConstraints<=4.1.1 Patch 14
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| OpenEMR Foundation | OpenEMR | unaffected |
|
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
1 other source (NVD) ▾
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
YesTechnical Impact
TotalDecision
n/aAssessed Aug 6, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2025–2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (8 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 1.98% (0.01977) | 79.79th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.28% (0.01283) | 66.21th | v5 (v2026.06.15) |
| Jun 9, 2026 | 12.37% (0.12373) | 94.03th | v4 (v2025.03.14) |
| May 28, 2026 | 10.62% (0.10615) | 93.40th | v4 (v2025.03.14) |
| Dec 29, 2025 | 4.26% (0.04263) | 88.45th | v4 (v2025.03.14) |
| Nov 27, 2025 | 5.36% (0.05355) | 89.65th | v4 (v2025.03.14) |
| Oct 8, 2025 | 51.01% (0.51014) | 97.70th | v4 (v2025.03.14) |
| Aug 2, 2025 | 0.24% (0.00242) | 47.65th | v4 (v2025.03.14) |
References (6)
- https://github.com/openemr/openemr product
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/openemr_sqli_privesc_upload.rb exploit
- https://www.exploit-db.com/exploits/28329 exploit
- https://www.exploit-db.com/exploits/28408 exploit
- https://www.open-emr.org/ product
- https://www.vulncheck.com/advisories/openemr-sqli-priv-esc-rce third-party-advisoryThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/openemr/openemr | product | |
| https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/openemr_sqli_privesc_upload.rb | exploit | |
| https://www.exploit-db.com/exploits/28329 | exploit | |
| https://www.exploit-db.com/exploits/28408 | exploit | |
| https://www.open-emr.org/ | product | |
| https://www.vulncheck.com/advisories/openemr-sqli-priv-esc-rce | third-party-advisoryThird Party Advisory |
Change history (0)
No recorded changes yet.