CVE-2026-126465 — openemr
One of 80 openemr vulnerabilities published together by NVD: our article covers all of them.
WebDatabasesVulnerabilitiesEndpoint securityResearch article
OpenEMR SQL Injection Vulnerability in Patient Portal API
| CVE | CVE-2026-126465 |
|---|---|
| Vendor and product | openemr |
| Published | November 24, 2026 17:50 UTC |
| Research cut-off | November 24, 2026 17:20 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-17); CISA KEV catalog; FIRST EPSS (2026-11-24) |
Executive summary
CVE-2026-126465 impacts OpenEMR versions prior to 8.5.0, revealing a SQL injection issue in the patient portal's onsiteactivityviews endpoint [1]. The CVSS 3.1 score is 6.5 MEDIUM, assigned by disclosure@vulncheck.com [1]. Although the sources do not confirm any exploitation [2], the flaw enables authenticated staff users to inject SQL and read confidential data [1]. The recommended action is to upgrade to the patched version 8.5.0 [1].
Key points
- CVE-2026-126465 is a SQL injection flaw in OpenEMR's patient portal API [1].
- The CVSS 3.1 score is 6.5 MEDIUM, scored by disclosure@vulncheck.com [1].
- The reviewed sources do not report exploitation [2].
- The vulnerability allows authenticated staff users to read sensitive data [1].
- Organizations should upgrade to OpenEMR 8.5.0 to address the flaw [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 4.0 | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|---|
| CVE-2026-126465 | OpenEMR | OpenEMR | CWE-89 | 7.1 HIGH, scored by disclosure@vulncheck.com (Secondary) | 6.5 MEDIUM, scored by disclosure@vulncheck.com (Secondary) | 2026-11-13T10:17:55 | 2026-11-17T20:50:46 | Analyzed |
Vulnerability description
A significant security issue has been found in the patient portal's api/onsiteactivityviews endpoint, enabling authenticated staff to inject SQL code via unquoted IdBitwiseAnd Criteria values [1]. By closing the bitwise parenthesis, attackers can insert OR or UNION SELECT commands to access patient health data, staff password hashes, MySQL login credentials, and API tokens [1].
Attack surface and exploitation prerequisites
The CVSS vector indicates the vulnerability requires network access (AV:N), low privilege (PR:L), and no user interaction (UI:N) [1]. The attack can be executed by any authenticated staff user through the api/onsiteactivityviews endpoint [1].
Impact analysis
The CVSS 3.1 vector shows a high impact on confidentiality (C:H), with no impact on integrity (I:N) or availability (A:N) [1]. The flaw allows attackers to access sensitive data, such as patient health information and staff credentials [1].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| openemr < 8.5.0 | 8.5.0 |
Exploitation and threat intelligence status
CVE-2026-126465 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-24 [2]. The EPSS score suggests a 0.43% chance of exploitation in the next 30 days [3].
Detection and exposure assessment
Organizations should verify if they are using OpenEMR versions below 8.5.0 [1]. The sources do not provide specific detection methods beyond version checks [1].
Remediation
The vulnerability is resolved in OpenEMR version 8.5.0 [1]. The sources do not offer additional mitigation strategies [1].
Remediation checklist
- Upgrade OpenEMR to version 8.5.0 [1].
- Review access controls for the patient portal API.
- Monitor system logs for unusual SQL query patterns.
Evidence gaps
- The sources do not describe the affected component's internals.
- The sources do not mention a workaround.
- The sources do not give indicators of compromise.
- The sources do not provide detection steps beyond checking installed versions.
References
- CVE-2026-126465 record. NIST National Vulnerability Database (NVD), 2026-11-17. https://nvd.nist.gov/vuln/detail/CVE-2026-126465. Accessed 2026-11-24.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-24. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-24.
- EPSS score for CVE-2026-126465. FIRST, 2026-11-24. https://api.first.org/data/v1/epss?cve=CVE-2026-126465. Accessed 2026-11-24.
Summary
OpenEMR before 8.5.0 contains an SQL injection vulnerability in the patient portal api/onsiteactivityviews endpoint that allows any authenticated staff user to inject SQL through unquoted Id_BitwiseAnd Criteria values. Attackers can close the bitwise parenthesis and append OR or UNION SELECT clauses to read patient PHI, staff password hashes, MySQL authentication strings, and API tokens.
Severity breakdown
High · 7.1
An attacker with a normal user account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- yes, a normal user account
- User action needed
- no
- Impact
- high on confidentiality, low on integrity, none on availability
- Impact on other systems
- none
Weakness
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| openemr | < 8.5.0 | 8.5.0 |
Public exploits
Exploit available
References by type
Other references
Affected
- openemr
Frequently asked questions
What is CVE-2026-126465?
CVE-2026-126465 impacts OpenEMR versions prior to 8.5.0, revealing a SQL injection issue in the patient portal's onsiteactivityviews endpoint. The CVSS 3.1 score is 6.5 MEDIUM, assigned by disclosure@vulncheck.com. Although the sources do not confirm any exploitation, the flaw enables authenticated staff users to inject SQL and read confidential data. The recommended action is to upgrade to the patched version 8.5.0. Weakness type: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CWE-89).
How severe is CVE-2026-126465?
CVE-2026-126465 has a CVSS 4.0 base score of 7.1 (high), from the CNA (vulncheck.com). An attacker with a normal user account can exploit this over the network, without any user action.
Is CVE-2026-126465 being exploited?
Not as far as is known: CVE-2026-126465 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026. Exploit code or a proof of concept has been published, which makes attacks more likely. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-126465?
openemr < 8.5.0 (fixed in 8.5.0).
How do I fix CVE-2026-126465?
Upgrade OpenEMR to version 8.5.0. Review access controls for the patient portal API. Monitor system logs for unusual SQL query patterns.
Timeline & sources
References
Related vulnerabilities & news
- Umami SQL injection via Reports API filter prefix handling (CVE-2026-138445), CVSS 3.1 9.9 Critical
- Ninja Tables Plugin Vulnerable to SQL Injection
- MongoDB Laravel Integration Bypasses Attribute Protection in Laravel Applications
- CVE-2026-114347 — PrestaHelp phsuperpack
- CVE-2026-136706 — eGov Foundation DIGIT Core