Skip to main content

OpenEMR CVE-2026-126454

| EUVDEUVD-2026-124969 HIGH
Improper Restriction of Excessive Authentication Attempts (CWE-307)
2026-11-13 VulnCheck GHSA-2vxm-wcfc-3cv5
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid username and password
  2. Delivery
    Submit login to reach TOTP MFA challenge
  3. Exploit
    Script POST requests re-sending hidden credentials
  4. Execution
    Brute-force 6-digit code with no lockout or throttle
  5. Impact
    Receive authenticated session to patient records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Brute-force prevention, rate limiting
Exploitation Conditions

Three concrete prerequisites: (1) the attacker must already hold a valid username and password for an OpenEMR user (PR:L) - the flaw bypasses only the second factor; (2) that account must have TOTP MFA enabled; and (3) the instance must be OpenEMR before 8.5.0. The attack targets the web login flow (main_screen.php) or the OAuth2 authorization code flow (AuthorizationController.php), exploiting that TOTP failures do not increment login_fail_counter/ip_login_fail_counter and are not throttled, while the correct password is preserved in a hidden clearPass field and auto-re-submitted. Limiting factors beyond raw CVSS: exploitation is impossible without prior credential compromise, requires MFA to actually be in use, and depends on the vulnerable version; it works against default configurations (no special setting needs to be enabled - the throttle is simply absent).

Impact

This is a genuine but conditional priority. The input CVSS 4.0 vector (8.6) and the vendor's CVSS 3.1 vector (8.1, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N) agree on network attack vector (AV:N), low complexity (AC:L), no user interaction (UI:N), and high confidentiality/integrity impact - consistent with full takeover of an authenticated EHR session containing PHI. The decisive mitigating signal is PR:L: per the vector and the advisory, the attacker must ALREADY possess a valid username and password, and the target account must have TOTP MFA enabled; this flaw only defeats the second factor, it does not grant initial access. The vuln.today decision label is 'this_week' (not act_now/emergency). This CVE is NOT in CISA KEV (no KEV signal in the input) and NO EPSS score was provided, so widespread automated exploitation cannot be inferred from the data; the realistic threat is a targeted attacker who has already harvested credentials (phishing, reuse, prior breach) and wants to bypass the MFA control. In short, a real and well-documented authentication-control failure, but gated behind prior password compromise rather than a wormable unauthenticated RCE.

Exploit ScenarioDerived

An attacker who has already obtained a valid OpenEMR password (via phishing, credential reuse, or a prior leak) for a user with TOTP MFA logs in to reach the MFA challenge, then scripts automated POST requests to main_screen.php (or the OAuth2 authorization code flow) each carrying the re-submitted hidden credentials and a different 6-digit code. Because the password stays correct on every attempt, neither login_fail_counter nor ip_login_fail_counter increments and no TOTP throttle applies, so the 10^6 space (with 2 valid codes per 30-second window) is brute-forced in hours or less. A detailed step-by-step proof-of-concept is published in the GHSA advisory, though no verified working exploit code is attached.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

OpenEMR before 8.5.0 omits rate limiting and lockout on the TOTP submission step, so an authenticated attacker who already holds a valid password for a TOTP-protected account can script repeated POST requests to main_screen.php or the OAuth2 authorization flow and brute-force the six-digit code, defeating the second factor. The password is preserved in a hidden clearPass field and auto-resubmitted, so the existing login_fail_counter and ip_login_fail_counter never increment because those counters only track wrong passwords. Successful guessing yields a fully authenticated session and access to protected data and functions; exploitation requires prior credential compromise plus MFA actually being enabled on the account, and no public exploit has been identified at time of analysis.

RemediationAI

Vendor-released patch: OpenEMR 8.5.0; upgrading to 8.5.0 or later is the complete fix, as the vendor package data lists '< 8.5.0' as vulnerable and 'fixed in: 8.5.0' (advisory: https://github.com/openemr/openemr/security/advisories/GHSA-rp7c-25mm-8g74). Because the flaw only matters once a password is already known, limit exposure in the interim by treating password compromise as the gating condition: enforce strong, unique credentials and rotate any password that may have been exposed for accounts using TOTP, and restrict network access to the login and OAuth2 authorization endpoints to trusted networks or a reverse proxy that can apply per-source request throttling on POSTs to main_screen.php and the OAuth2 authorization flow - noting that such front-end throttling must be tuned carefully, since an aggressive limit can lock out legitimate users during login bursts. Organizations that cannot upgrade immediately should consider temporarily disabling TOTP-only reliance in favour of a second factor that is not guessable through repeated submissions, accepting the operational overhead of re-enrolling users, and should monitor audit logs for repeated TOTP failures from a single account or source as a detection signal.

Affected VersionsENISA

OpenEMR 0 <8.5.0

Affected Packages

euvd openemr fix: 8.5.0

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

The issue is CWE-307 (Improper Restriction of Excessive Authentication Attempts) in OpenEMR's PHP authentication stack. In main_screen.php the TOTP check calls the RobThree TwoFactorAuth library's validateCode(); a failed check writes an audit entry and re-renders the MFA form, with the password re-emitted as a hidden input by generate_html_middle() and resubmitted automatically. The throttling logic in AuthUtils.php only increments login_fail_counter and ip_login_fail_counter inside confirmUserPassword(), i.e. only when the password is wrong - never on a bad TOTP value - so repeated guesses with a correct password are unmetered. The library's default discrepancy of 1 keeps two codes valid at any moment (current and previous 30-second window), giving roughly 2 in 10^6 odds per attempt against an effectively unlimited attempt budget; the same absence of counting exists in the OAuth2 authorization code flow in AuthorizationController.php. The affected component is the OpenEMR application itself (CPE cpe:2.3:a:openemr:openemr, all versions before 8.5.0), independent of the underlying PHP version or database backend.

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

Vendor (VulnCheck) PRIMARY 8.6 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

PR:L because the attacker must already supply a valid password; AC:L as the brute force is straightforwardly scriptable with no special conditions; C:H/I:H for full access to patient records, A:N as availability is unaffected.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 13, 2026 - 10:02 EUVD
CVE Published
Nov 13, 2026 - 09:35 cve.org
HIGH 8.6

DescriptionCVE.org

OpenEMR before 8.5.0 lacks rate limiting or lockout on TOTP submission, allowing attackers with a valid password to brute-force the 6-digit MFA code. Attackers can script repeated POST requests to main_screen.php or the OAuth2 authorization flow with re-submitted hidden credentials to bypass two-factor authentication.

Technical POC Analysis

CWE-307: Improper Restriction of Excessive Authentication Attempts.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-126454 is a high-severity vulnerability in OpenEMR before 8.5.0 that allows an authenticated attacker with a stolen password to bypass TOTP-based multi-factor authentication by brute-forcing the six-digit code due to missing rate limiting. This undermines the second factor for TOTP-protected accounts, potentially exposing electronic protected health information (ePHI) and compromising regulatory compliance (e.g., HIPAA). Leadership should prioritize remediation because it weakens a critical security control relied upon to protect sensitive patient data.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Medium
popular open-source EHR, widely deployed but healthcare-industry-specific
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2013-10044 HIGH POC
8.7 Aug 01

An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to

CVE-2026-24898 CRITICAL POC
10.0 Mar 03

Unauthenticated token disclosure in OpenEMR before 8.0.0. CVSS 10.0. PoC and patch available.

CVE-2026-24848 CRITICAL POC
9.9 Mar 03

Path traversal in OpenEMR 7.0.4 disposeDocument() allows file access. PoC available.

CVE-2026-24849 CRITICAL POC
9.9 Feb 25

Path traversal in OpenEMR electronic health records before fix allows authenticated users to read arbitrary files on the

CVE-2026-24908 CRITICAL POC
9.9 Feb 25

SQL injection in OpenEMR electronic health records before fix. Authenticated users can execute arbitrary SQL through the

CVE-2024-22611 CRITICAL POC
9.8 Apr 03

OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.cl

CVE-2024-37734 CRITICAL POC
9.8 Jun 26

An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid par

CVE-2026-25146 CRITICAL POC
9.6 Mar 03

Information disclosure in OpenEMR 5.0.2 to before 8.0.0 exposes sensitive data. PoC and patch available.

CVE-2026-39932 CRITICAL POC
9.4 Aug 03

Remote code execution in OpenEMR through 8.2.0 lets an authenticated administrator poison the document category tree so

CVE-2012-0992 HIGH POC
8.5 Feb 07

interface/fax/fax_dispatch.php in OpenEMR 4.1.0 allows remote authenticated users to execute arbitrary commands via shel

CVE-2026-124450 CRITICAL POC
9.3 Nov 08

Authenticated low-privilege users can exploit OpenEMR before 8.3.0 to read and write arbitrary files through the fax/sms

CVE-2015-4453 MEDIUM
5.0 Jul 05

interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy