Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to OpenEMR (low-privilege session)
-
ExploitSubmit crafted input to vulnerable sink (ERA CLP01 / form_facility / form_icd_codes[] / POST key name)
-
ExecutionTrigger UNION, error-based, or blind SQL injection
-
ImpactExfiltrate users_secure hashes and patient PHI / overwrite patient_data fields
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated OpenEMR session; this is the primary limiting factor (PR:L). Beyond that, prerequisites are per-variant and concrete: V1 (ERA CLP01 injection in SLEOB.php/slInvoiceNumber) is reachable via sl_eob_process.php with NO specific role ACL by any authenticated user, triggered by processing or uploading an X12 835 ERA file whose CLP01 patient-account field carries the payload (tab characters used as SQL whitespace); V2 (form_facility in ippf_statistics.php) requires the acct/rep ACL and is read-only; V3 (form_icd_codes[] IN-clause in SyndromicsurveillanceTable::fetch_result) requires NO ACL and has NO CSRF token; V4 (CarecoordinationTable::insertApprovedData, POST key-name/UPDATE field injection) requires the send_to_hie or admin ACL; V5 (CcrTable::insertApprovedData) requires NO ACL and NO CSRF token. Stacked queries are rejected by mysqli_query and INTO OUTFILE is blocked by secure_file_priv, limiting the injection to in-query reads/writes. No non-default configuration is required - the vulnerable code paths ship in the affected branches. |
| Impact | This is a genuine but second-tier priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N, VC:H/VI:L/VA:N) scores 7.1 and is internally consistent with the description: network-reachable, low attack complexity, but requiring an authenticated session (PR:L), with high confidentiality impact (reads users_secure bcrypt hashes and patient_data PHI/SSN, plus OAuth tokens and portal credentials in V3) and limited integrity impact (targeted UPDATE overwrites of patient_data fields in V4/V5). The vuln.today decision label is this_week, not act_now/emergency, consistent with the signal mix. No CISA KEV entry is present, so there is no confirmed active exploitation, and no EPSS score was supplied to gauge exploitation probability. The counterweight is that a detailed, multi-variant public PoC with passing reproduction output is published in the vendor's own GHSA advisory, so the barrier to weaponization is low - the main gating factor is the authentication requirement. Because exploitation needs a valid OpenEMR login, and several variants additionally require role ACLs, real-world risk is insider/compromised-credential-driven rather than mass internet-wide; however, V1 (via sl_eob_process.php), V3, and V5 require no specific ACL, and V3/V5 lack CSRF protection, meaningfully lowering the bar for any authenticated or CSRF-coerced user. Net: treat as a real priority for OpenEMR operators (PHI plus credential exposure) but not an unauthenticated internet-facing emergency. |
| Exploit ScenarioDerived | An authenticated low-privilege OpenEMR user sends a crafted SQL payload through one of the vulnerable sinks - for example a POST of form_icd_codes[]=1 AND EXTRACTVALUE(...) to the Syndromicsurveillance module, a UNION payload in form_facility, or a malicious X12 835 ERA file whose CLP01 field carries the injection - and reads users_secure bcrypt hashes and patient PHI/SSN, or overwrites patient_data fields. Because V3 and V5 have no CSRF token, the request can also be triggered through a coerced authenticated session. A public PoC with passing reproduction output for all five variants is published in the vendor GHSA advisory, though it is not packaged as a standalone weaponized exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Authenticated SQL injection in OpenEMR before 8.5.0 lets logged-in users read users_secure password hashes and patient PHI through billing, reporting, syndromic-surveillance, and CCDA-approval code paths, while the CCDA variants can also overwrite patient_data fields. The ERA billing path via sl_eob_process.php requires no specific role ACL; ippf_statistics requires acct/rep, Carecoordination requires send_to_hie or admin, and the Ccr and Syndromicsurveillance variants lack CSRF protection. OpenEMR 8.5.0 is the vendor fix; public PoC payloads and reproduction output are included in the advisory, and no CISA KEV active-exploitation listing is provided.
RemediationAI
Vendor-released patch: OpenEMR 8.5.0; upgrade every installation below 8.5.0, including 7.x/8.x branches that carry the same code paths, and verify the deployed version after upgrade. The vendor advisory is https://github.com/openemr/openemr/security/advisories/GHSA-g7m7-pc2p-7h7q and the VulnCheck advisory is https://www.vulncheck.com/advisories/openemr-before-8.5.0-sql-injection-via-billing-parser-reports-zend-modules. The supplied data does not identify a separate vendor workaround, and the ERA path via sl_eob_process.php is reachable by any authenticated user, so upgrade is the complete remediation; restricting access to the affected billing, reporting, surveillance, and CCDA modules would reduce exposure but also block legitimate clinical and billing workflows.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
All five variants are CWE-89 SQL injection caused by concatenating user-controlled values or identifiers into SQL strings instead of using bound parameters. In V1, ParseERA only trims the CLP01 patient-account field from an X12 835 ERA file, slInvoiceNumber splits it on spaces and hyphens, and the pid portion is interpolated into a billing query; tabs can serve as SQL whitespace without splitting the payload, and quote-balancing keeps the statement valid while ADODB/MySQLi prepared statements reject #-comment payloads. V2 concatenates POST form_facility directly into an ippf_statistics query, and an accompanying array_push call has no matching placeholder, so it provides no protection. V3 passes form_icd_codes[] through mysqli_real_escape_string and then into an unquoted IN (...) clause; escaping quotes and backslashes does not neutralize SQL keywords or functions such as EXTRACTVALUE and SLEEP, and the advisory reports reads of users_secure hashes, PHI, OAuth tokens, and portal credentials. V4 and V5 abuse POST key names ending in -sel: after suffix stripping, the remaining key text becomes an UPDATE SET field name in patient_data, so bound parameters protect only values, not the identifier; /**/ supplies SQL whitespace after PHP converts spaces to underscores. The assessed impact is high confidentiality with limited integrity impact, since stacked queries are rejected by mysqli_query and INTO OUTFILE is blocked by secure_file_priv, so no arbitrary code execution is shown. CPE cpe:2.3:a:openemr:openemr:*:*:*:*:*:*:*:* covers the affected pre-8.5.0 product range.
Know when Openemr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Network-reachable with low complexity but needs an authenticated session (PR:L); high confidentiality from hash/PHI reads, low integrity from targeted patient_data UPDATE overwrites, no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
OpenEMR before 8.5.0 contains multiple sql injection vulnerabilities that allow authenticated users to inject payloads through ERA CLP01, form_facility, form_icd_codes, and POST key names. Attackers can perform UNION, blind, and error-based injection to read users_secure password hashes and patient PHI, and overwrite patient_data fields.
Technical POC Analysis
CWE-89.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
OpenEMR 8.5.0 addresses a high-severity SQL injection affecting healthcare organizations using earlier versions. An authenticated user can access password hashes and protected health information, exposing the organization to data breach and HIPAA compliance risks. Leadership should prioritize remediation due to the sensitivity of patient data and the potential for regulatory penalties.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to
Unauthenticated token disclosure in OpenEMR before 8.0.0. CVSS 10.0. PoC and patch available.
Path traversal in OpenEMR 7.0.4 disposeDocument() allows file access. PoC available.
Path traversal in OpenEMR electronic health records before fix allows authenticated users to read arbitrary files on the
SQL injection in OpenEMR electronic health records before fix. Authenticated users can execute arbitrary SQL through the
OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.cl
An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid par
Information disclosure in OpenEMR 5.0.2 to before 8.0.0 exposes sensitive data. PoC and patch available.
Remote code execution in OpenEMR through 8.2.0 lets an authenticated administrator poison the document category tree so
interface/fax/fax_dispatch.php in OpenEMR 4.1.0 allows remote authenticated users to execute arbitrary commands via shel
Authenticated low-privilege users can exploit OpenEMR before 8.3.0 to read and write arbitrary files through the fax/sms
interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication
EUVD-2026-124961
GHSA-fq2c-q72h-r47j
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB